Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Try the old PHPUnit syntax
  • Loading branch information
pento committed Oct 4, 2017
commit f640163bd14ebb03908d7f183a37bc291bead0c5
2 changes: 1 addition & 1 deletion tests/phpunit/tests/pomo/pluralForms.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function test_cache() {
$mock->expects($this->once())
->method('execute')
->with($this->identicalTo(2))
->willReturn(1);
->will($this->returnValue(1));

$first = $mock->get( 2 );
$second = $mock->get( 2 );
Expand Down