From bb8c41d1e4da12dc460e65e39e60834f01eccd5d Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez <jose.zap@gmail.com> Date: Thu, 21 Apr 2011 19:12:16 -0430 Subject: [PATCH] Fixing more tests related to changes on model validation --- lib/Cake/tests/Case/Model/Behavior/TranslateBehaviorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/tests/Case/Model/Behavior/TranslateBehaviorTest.php b/lib/Cake/tests/Case/Model/Behavior/TranslateBehaviorTest.php index 292f0cdf0..cae244644 100644 --- a/lib/Cake/tests/Case/Model/Behavior/TranslateBehaviorTest.php +++ b/lib/Cake/tests/Case/Model/Behavior/TranslateBehaviorTest.php @@ -670,7 +670,7 @@ class TranslateBehaviorTest extends CakeTestCase { )); $TestModel->create(); $this->assertFalse($TestModel->save($data)); - $this->assertEqual($TestModel->validationErrors['title'], 'This field cannot be left blank'); + $this->assertEqual($TestModel->validationErrors['title'], array('This field cannot be left blank')); $TestModel->locale = 'eng'; $TestModel->validate['title'] = '/Only this title/';