Skip to content
Permalink
Browse files

Removed fieldList referec from validation test method

  • Loading branch information...
lorenzo committed Nov 17, 2013
1 parent 21129a8 commit d27986211193c7275c2d25e13127cbb22963144f
Showing with 1 addition and 3 deletions.
  1. +1 −3 Cake/Test/TestCase/ORM/TableTest.php
@@ -1865,9 +1865,7 @@ public function testSaveWithValidationErrorAndFieldList() {
]);
$table = TableRegistry::get('users');
$table->validator()->validatePresence('password');
$this->assertFalse($table->save($entity, [
'fieldList' => ['username', 'password']
]));
$this->assertFalse($table->save($entity));
$this->assertNotEmpty($entity->errors('password'));
}

0 comments on commit d279862

Please sign in to comment.
You can’t perform that action at this time.