From 005c006b691369773680f29eee954d1cf996ea27 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 18 Oct 2013 21:01:34 +0400 Subject: [PATCH] typo fix --- tests/unit/framework/validators/ValidatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');