From 9209f912fa2a42a6decf10d0ead6547dfa0fef04 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 16 Sep 2018 16:31:32 -0700 Subject: [PATCH] db-verify compare --- tests/unit/db_verifyTest.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/unit/db_verifyTest.php b/tests/unit/db_verifyTest.php index 444ee1a64..fce0bda7f 100644 --- a/tests/unit/db_verifyTest.php +++ b/tests/unit/db_verifyTest.php @@ -73,17 +73,20 @@ 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); + // print_r($this->dbv->sqlFileTables); - // $this->dbv->compare('e107_submitnews'); + $this->dbv->compare('core'); - $result = $this->dbv->errors['submitnews']; - print_r($this->dbv->errors); + //FIXME + // print_r($this->dbv->errors); + // print_r($this->dbv->results['submitnews']); + // print_r($this->dbv->indices['submitnews']); // print_r($this->dbv->results); } /*