Skip to content
Permalink
Browse files

Removing extra line in test

  • Loading branch information...
lorenzo committed Jul 5, 2014
1 parent 7ad59c9 commit a3aa82c4b4b2effaba78124caea72a4a838d10f9
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/TestCase/ORM/TableTest.php
@@ -2103,10 +2103,8 @@ public function testSaveWithDifferentValidatorAndAssociations() {
$validator2 = (new Validator)->validatePresence('thing');
$table->authors->validator('default', $validator2);
$this->assertFalse($table->save($entity, ['validate' => 'custom']));
$this->assertFalse($table->save($entity, ['validate' => 'custom']), 'default was not used');
$this->assertNotEmpty($entity->author->errors('thing'));
$this->assertFalse($table->save($entity), 'default was not used');
}
/**

0 comments on commit a3aa82c

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