diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-06-22 15:24:50 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-10 23:18:13 +0300 |
commit | ffbbf21ef674002eb81c2321a7f7c32d1ef7233a (patch) | |
tree | 54bc5f3468f4a3ebc99877905a80386d7a74db66 /test | |
parent | e73c7a496737ef2d0e3dbef4d9b1bf2c91ff95d0 (diff) |
Removed dead code.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/PMA_Table_test.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/classes/PMA_Table_test.php b/test/classes/PMA_Table_test.php index 4005ba508e..1bd637638c 100644 --- a/test/classes/PMA_Table_test.php +++ b/test/classes/PMA_Table_test.php @@ -608,37 +608,6 @@ class PMA_Table_Test extends PHPUnit_Framework_TestCase } /** - * Test for analyzeStructure - * - * @return void - */ - public function testAnalyzeStructure() - { - $this->assertEquals( - false, - PMA_Table::analyzeStructure() - ); - - //validate that it is the same as DBI fetchResult - $show_create_table = PMA_Table::analyzeStructure('PMA', 'PMA_BookMark'); - $this->assertEquals( - array('type'=>'DATA_TYPE'), - $show_create_table[0]['create_table_fields']['COLUMN_NAME'] - ); - //not a view - $show_create_table = PMA_Table::analyzeStructure('PMA', 'PMA_BookMark_2'); - $this->assertEquals( - array('type'=>'INT', 'timestamp_not_null'=>false), - $show_create_table[0]['create_table_fields']['id'] - ); - $this->assertEquals( - array('type'=>'TEXT', 'timestamp_not_null'=>false), - $show_create_table[0]['create_table_fields']['username'] - ); - - } - - /** * Test for isMerge * * @return void |