From a0f4489e41c8673bafa47ce9279536a8c5823b18 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Sat, 18 Jan 2020 11:22:02 +0100 Subject: [PATCH] Disabled db_verifyTest::testGetIndex() due to no assertions --- e107_tests/tests/unit/db_verifyTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/e107_tests/tests/unit/db_verifyTest.php b/e107_tests/tests/unit/db_verifyTest.php index cc7d2ad02..116719f0c 100644 --- a/e107_tests/tests/unit/db_verifyTest.php +++ b/e107_tests/tests/unit/db_verifyTest.php @@ -254,14 +254,16 @@ $this->assertEquals($expected,$result); } + /** + * FIXME: This test has no assertions! + */ + /* public function testCompare() { e107::getDb()->gen('ALTER TABLE `#submitnews` CHANGE `submitnews_id` `submitnews_id` INT(10) UNSIGNED NOT NULL;'); e107::getDb()->gen('ALTER TABLE `#submitnews` DROP INDEX submitnews_id;'); - define('e_DEBUG', true); - $this->dbv->__construct(); // print_r($this->dbv->sqlFileTables); @@ -277,7 +279,7 @@ // print_r($this->dbv->indices['submitnews']); // print_r($this->dbv->results); } - + */ public function testGetFixQuery() {