diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-13 16:10:02 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-13 16:10:02 +0300 |
commit | 2b1234cff4ada5b3d0c3291f6ff9afc09db0315f (patch) | |
tree | 1a9bb892dfba5fb6606b6b0afe80e3736bbf82c3 /test | |
parent | 1ed244db2506c58535dd842332c920c300a26da4 (diff) |
Result retrieve function has also changed
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
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 ) ); |