diff --git a/tests/redis/RedisDebugTest.php b/tests/redis/RedisDebugTest.php index cfc30b2..6e82799 100644 --- a/tests/redis/RedisDebugTest.php +++ b/tests/redis/RedisDebugTest.php @@ -85,6 +85,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase /** * @expectedException Exception + * @expectedExceptionMessage call_user_func_array() expects parameter 1 to be a valid callback * @runInSeparateProcess */ public function testCallUndefinedMethod() diff --git a/tests/validator/EqualValidatorTest.php b/tests/validator/EqualValidatorTest.php index f3e033e..6529554 100644 --- a/tests/validator/EqualValidatorTest.php +++ b/tests/validator/EqualValidatorTest.php @@ -25,6 +25,7 @@ class EqualValidatorTest extends PHPUnit_Framework_TestCase /** * @expectedException Exception + * @expectedExceptionMessage Token not defined */ public function testNullToken() { diff --git a/tests/validator/RegexValidatorTest.php b/tests/validator/RegexValidatorTest.php index 913c192..d5d1aed 100644 --- a/tests/validator/RegexValidatorTest.php +++ b/tests/validator/RegexValidatorTest.php @@ -46,6 +46,7 @@ class RegexValidatorTest extends PHPUnit_Framework_TestCase /** * @expectedException Exception + * @expectedExceptionMessage Message template "regex_not_match" unknown. */ public function testNullMessage() {