Commit 005c006b by Alexander Makarov

typo fix

parent 1f6a8230
......@@ -218,7 +218,7 @@ class ValidatorTest extends TestCase
$m = $this->getTestModel(['attr_msg_val' => ['bcc']]);
$val->addError($m, 'attr_msg_val', '{attribute}::{value}');
$errors = $m->getErrors('attr_msg_val');
$this->assertEquals('attr_msg_val::[)', $errors[0]);
$this->assertEquals('attr_msg_val::array()', $errors[0]);
$m = $this->getTestModel(['attr_msg_val' => 'abc']);
$val->addError($m, 'attr_msg_val', '{attribute}::{value}::{param}', ['{param}' => 'param_value']);
$errors = $m->getErrors('attr_msg_val');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment