Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use PHPUnit_Framework_TestFailure::exceptionToString if invocation ex…

…pectations fail

Primarily to display a diff of the mismatching parameters
  • Loading branch information...
commit 813c9faddfd1d727aebda5ba4fbf9c6bef8537bf 1 parent e8af681
@fabian fabian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  PHPUnit/Framework/MockObject/Matcher.php
View
2  PHPUnit/Framework/MockObject/Matcher.php
@@ -300,7 +300,7 @@ public function verify()
$this->methodNameMatcher->toString(),
$this->invocationMatcher->toString(),
- $e->getMessage()
+ PHPUnit_Framework_TestFailure::exceptionToString($e)
)
);
}
Please sign in to comment.
Something went wrong with that request. Please try again.