Skip to content

Commit cbfbb3a

Browse files
committed
Remove incomplete tests
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent 725fbbd commit cbfbb3a

2 files changed

Lines changed: 0 additions & 55 deletions

File tree

test/classes/Dbi/DbiMysqliTest.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -203,23 +203,6 @@ public function testMysqliDBI()
203203
);
204204
}
205205

206-
/**
207-
* Test for selectDb
208-
*
209-
* @return void
210-
*
211-
* @group medium
212-
*/
213-
public function testSelectDb()
214-
{
215-
$this->markTestIncomplete('Not testing anything');
216-
//$link is empty
217-
$this->assertEquals(
218-
false,
219-
$this->object->selectDb("PMA", null)
220-
);
221-
}
222-
223206
/**
224207
* Test for numRows
225208
*

test/classes/Display/ResultsTest.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -164,44 +164,6 @@ public function providerForTestGetTableNavigationButton()
164164
);
165165
}
166166

167-
/**
168-
* Test for table navigation
169-
*
170-
* @return void
171-
*
172-
* @dataProvider providerForTestGetTableNavigation
173-
*/
174-
public function testGetTableNavigation(
175-
// $pos_next, $pos_prev, $is_innodb, $output
176-
) {
177-
$_SESSION['tmpval']['max_rows'] = '20';
178-
$_SESSION['tmpval']['pos'] = true;
179-
$GLOBALS['num_rows'] = '20';
180-
$GLOBALS['unlim_num_rows'] = '50';
181-
$GLOBALS['cfg']['ShowAll'] = true;
182-
$_SESSION['tmpval']['repeat_cells'] = '1';
183-
184-
/**
185-
* FIXME Counting words of a generated large HTML is not a good way
186-
* of testing IMO. Introduce more granular assertions that assert for
187-
* existence of important content inside the generated HTML.
188-
*/
189-
/*
190-
$this->assertEquals(
191-
$output,
192-
str_word_count(
193-
$this->_callPrivateFunction(
194-
'_getTableNavigation',
195-
array(
196-
$pos_next, $pos_prev, $is_innodb
197-
)
198-
)
199-
)
200-
);
201-
*/
202-
$this->markTestIncomplete('Not yet implemented!');
203-
}
204-
205167
/**
206168
* Provider for testing table navigation
207169
*

0 commit comments

Comments
 (0)