From ffbbf21ef674002eb81c2321a7f7c32d1ef7233a Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Mon, 22 Jun 2015 15:24:50 +0300 Subject: Removed dead code. Signed-off-by: Dan Ungureanu --- test/classes/PMA_Table_test.php | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'test') 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 @@ -607,37 +607,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 * -- cgit v1.2.3