Browse Source

fixing a couple CS issues

Jose Lorenzo Rodriguez 11 years ago
parent
commit
9f2503d202
2 changed files with 0 additions and 2 deletions
  1. 0 1
      tests/TestCase/ORM/EntityTest.php
  2. 0 1
      tests/TestCase/ORM/TableTest.php

+ 0 - 1
tests/TestCase/ORM/EntityTest.php

@@ -191,7 +191,6 @@ class EntityTest extends TestCase {
 		$this->assertEquals('Dr. Jones', $entity->get('name'));
 	}
 
-
 /**
  * Test magic property setting with no custom setter
  *

+ 0 - 1
tests/TestCase/ORM/TableTest.php

@@ -2154,7 +2154,6 @@ class TableTest extends \Cake\TestSuite\TestCase {
 		$this->assertFalse($table->save($entity, ['validate' => 'custom']), 'default was not used');
 		$this->assertNotEmpty($entity->author->errors('thing'));
 
-		$validator3 = (new Validator)->validatePresence('thing');
 		$table->ArticlesTags->validator('default', $validator2);
 		unset($entity->author);
 		$this->assertFalse($table->save($entity, ['validate' => 'custom']), 'default was not used');