@@ -195,7 +195,7 @@ class ModelTest extends TestCase
...
@@ -195,7 +195,7 @@ class ModelTest extends TestCase
publicfunctiontestCreateValidators()
publicfunctiontestCreateValidators()
{
{
$this->setExpectedException('yii\base\InvalidConfigException','Invalid validation rule: a rule must be an array specifying both attribute names and validator type.');
$this->setExpectedException('yii\base\InvalidConfigException','Invalid validation rule: a rule must specify both attribute names and validator type.');