Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-04-30 06:31:37 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-04-30 06:31:37 +0300
commitcbfbb3adaf4984597917d8ef8d5ff2361a8920cb (patch)
tree83176695ddc4d5f048b281d9f3c2b45b89bd5228 /test
parent725fbbdcc2a2675f9506bc660e656136539f32e2 (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.php17
-rw-r--r--test/classes/Display/ResultsTest.php38
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