diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/libraries/PMA_structure_test.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/libraries/PMA_structure_test.php b/test/libraries/PMA_structure_test.php index eb8391dd0e..cc43d47553 100644 --- a/test/libraries/PMA_structure_test.php +++ b/test/libraries/PMA_structure_test.php @@ -236,14 +236,11 @@ class PMA_Structure_Test extends PHPUnit_Framework_TestCase ->will($this->returnValue(false)); $dbi->expects($this->any()) - ->method('fetchSingleRow') - ->with($show_create_query) + ->method('fetchValue') + ->with($show_create_query, 0, 1) ->will( $this->returnValue( - array( - 'PMA_Table', - $expected_result - ) + $expected_result ) ); |