Skip to content

Commit

Permalink
add test case to the test suit
Browse files Browse the repository at this point in the history
  • Loading branch information
yasithacp committed Jul 23, 2012
1 parent 0aca1fa commit 501d6e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions test/AllSeleniumTests.php
Expand Up @@ -32,6 +32,7 @@ public static function suite()
$suite->addTestSuite('PmaSeleniumLoginTest');
$suite->addTestSuite('PmaSeleniumXssTest');
$suite->addTestSuite('PmaSeleniumPrivilegesTest');
$suite->addTestSuite('PmaSeleniumCreateDropDatabaseTest');
return $suite;
}
}
Expand Down
8 changes: 4 additions & 4 deletions test/libraries/PMA_bookmark_test.php
Expand Up @@ -30,8 +30,8 @@ function PMA_getRelationsParam()
function PMA_DBI_fetch_result()
{
return array(
'id' => 'id',
'label' => 'label'
'table1',
'table2'
);
}
}
Expand Down Expand Up @@ -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')
);
Expand Down

0 comments on commit 501d6e8

Please sign in to comment.