From 501d6e8a3717dd183035e1a269755279335a612f Mon Sep 17 00:00:00 2001 From: Yasitha Pandithawatta Date: Mon, 23 Jul 2012 23:03:35 +0530 Subject: [PATCH] add test case to the test suit --- test/AllSeleniumTests.php | 1 + test/libraries/PMA_bookmark_test.php | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/AllSeleniumTests.php b/test/AllSeleniumTests.php index 8efb1d9b5cce..e1b6982a891c 100644 --- a/test/AllSeleniumTests.php +++ b/test/AllSeleniumTests.php @@ -32,6 +32,7 @@ public static function suite() $suite->addTestSuite('PmaSeleniumLoginTest'); $suite->addTestSuite('PmaSeleniumXssTest'); $suite->addTestSuite('PmaSeleniumPrivilegesTest'); + $suite->addTestSuite('PmaSeleniumCreateDropDatabaseTest'); return $suite; } } diff --git a/test/libraries/PMA_bookmark_test.php b/test/libraries/PMA_bookmark_test.php index a8ea3189f454..e6716faaad2d 100644 --- a/test/libraries/PMA_bookmark_test.php +++ b/test/libraries/PMA_bookmark_test.php @@ -30,8 +30,8 @@ function PMA_getRelationsParam() function PMA_DBI_fetch_result() { return array( - 'id' => 'id', - 'label' => 'label' + 'table1', + 'table2' ); } } @@ -68,8 +68,8 @@ public function testPMA_Bookmark_getParams(){ public function testPMA_Bookmark_getList(){ $this->assertEquals( array( - 'id' => 'id (shared)', - 'label' => 'label (shared)' + 0 => 'table1 (shared)', + 1 => 'table2 (shared)' ), PMA_Bookmark_getList('phpmyadmin') );