Skip to content

Commit

Permalink
Worker mock added lastError
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuadros committed Apr 7, 2013
1 parent 1ceda3c commit ce433af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Skeetr/Mocks/Gearman/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function returnCode() {
return GEARMAN_NO_ACTIVE_FDS;
}

public function error() {
public function lastError() {
return 'mocked error';
}
}

0 comments on commit ce433af

Please sign in to comment.