Skip to content

Commit

Permalink
Make compatible with xp-framework/unittest 6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 13, 2015
1 parent 923dbd9 commit e33d984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/unittest/web/WebTestCase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected function clickLinkWithText($text) {
* @param var actual
* @param var expect
*/
public function fail($reason, $actual, $expect) {
public function fail($reason, $actual= null, $expect= null) {
parent::fail('@'.$this->conn->getUrl()->getURL().': '.$reason, $actual, $expect);
}

Expand Down

0 comments on commit e33d984

Please sign in to comment.