Fixing a test case for Model::saveAll()

This commit is contained in:
ADmad 2011-03-16 00:56:31 +05:30
parent 0f341c7114
commit 4e046c8cd0

View file

@ -3051,7 +3051,8 @@ class ModelWriteTest extends BaseModelTest {
'published' => 'Y',
'user_id' => 1
))
), array('validate' => 'only'));
), array('validate' => 'first'));
$this->assertFalse($result);
}
/**