mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
Ops, commited broken test
This commit is contained in:
parent
455ca0c8cf
commit
969aa8cf9a
|
@ -38,7 +38,7 @@ class ValidatorTest extends \PHPUnit_Framework_TestCase
|
|||
}
|
||||
function test_getFullMessage_should_include_all_validation_messages_in_a_chain() {
|
||||
try {
|
||||
Validator::string()->alnum()->assert('%%%invalid');
|
||||
Validator::string()->length(1,15)->assert('');
|
||||
} catch (\Exception $e) {
|
||||
$this->assertEquals('\-These rules must pass for ""
|
||||
\-"" must have a length between 1 and 15', $e->getFullMessage());
|
||||
|
|
Loading…
Reference in a new issue