diff --git a/tests/unit/framework/validators/ValidatorTest.php b/tests/unit/framework/validators/ValidatorTest.php index 8582b8c..351dba8 100644 --- a/tests/unit/framework/validators/ValidatorTest.php +++ b/tests/unit/framework/validators/ValidatorTest.php @@ -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');