Skip to content

Commit

Permalink
Fix mocked return value
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Aug 1, 2017
1 parent fc2ac9f commit b188c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/libraries/PMA_PMD_common_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function testGetLoadingPageWithNoDefaultPage()
->method('fetchResult')
->willReturnOnConsecutiveCalls(
array(),
array($first_pg)
array(array($first_pg))
);
$dbi->expects($this->any())->method('escapeString')
->will($this->returnArgument(0));
Expand Down

0 comments on commit b188c18

Please sign in to comment.