diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-04-30 06:31:37 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-04-30 06:31:37 +0300 |
commit | cbfbb3adaf4984597917d8ef8d5ff2361a8920cb (patch) | |
tree | 83176695ddc4d5f048b281d9f3c2b45b89bd5228 /test | |
parent | 725fbbdcc2a2675f9506bc660e656136539f32e2 (diff) |
Remove incomplete tests
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/Dbi/DbiMysqliTest.php | 17 | ||||
-rw-r--r-- | test/classes/Display/ResultsTest.php | 38 |
2 files changed, 0 insertions, 55 deletions
diff --git a/test/classes/Dbi/DbiMysqliTest.php b/test/classes/Dbi/DbiMysqliTest.php index 5f0215b175..971fcb2e4a 100644 --- a/test/classes/Dbi/DbiMysqliTest.php +++ b/test/classes/Dbi/DbiMysqliTest.php @@ -204,23 +204,6 @@ class DbiMysqliTest extends PmaTestCase } /** - * Test for selectDb - * - * @return void - * - * @group medium - */ - public function testSelectDb() - { - $this->markTestIncomplete('Not testing anything'); - //$link is empty - $this->assertEquals( - false, - $this->object->selectDb("PMA", null) - ); - } - - /** * Test for numRows * * @return void diff --git a/test/classes/Display/ResultsTest.php b/test/classes/Display/ResultsTest.php index 3108c2ca50..1326168f2e 100644 --- a/test/classes/Display/ResultsTest.php +++ b/test/classes/Display/ResultsTest.php @@ -165,44 +165,6 @@ class ResultsTest extends PmaTestCase } /** - * Test for table navigation - * - * @return void - * - * @dataProvider providerForTestGetTableNavigation - */ - public function testGetTableNavigation( - // $pos_next, $pos_prev, $is_innodb, $output - ) { - $_SESSION['tmpval']['max_rows'] = '20'; - $_SESSION['tmpval']['pos'] = true; - $GLOBALS['num_rows'] = '20'; - $GLOBALS['unlim_num_rows'] = '50'; - $GLOBALS['cfg']['ShowAll'] = true; - $_SESSION['tmpval']['repeat_cells'] = '1'; - - /** - * FIXME Counting words of a generated large HTML is not a good way - * of testing IMO. Introduce more granular assertions that assert for - * existence of important content inside the generated HTML. - */ - /* - $this->assertEquals( - $output, - str_word_count( - $this->_callPrivateFunction( - '_getTableNavigation', - array( - $pos_next, $pos_prev, $is_innodb - ) - ) - ) - ); - */ - $this->markTestIncomplete('Not yet implemented!'); - } - - /** * Provider for testing table navigation * * @return array data for testGetTableNavigation |