Browse Source

Fixed failing test from previous commit

Jose Lorenzo Rodriguez 11 years ago
parent
commit
456cd976ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/ORM/Association/BelongsToManyTest.php

+ 1 - 1
tests/TestCase/ORM/Association/BelongsToManyTest.php

@@ -1405,7 +1405,7 @@ class BelongsToManyTest extends TestCase {
 				return true;
 			}));
 
-		$assoc->replaceLinks($entity, $tags, $options);
+		$assoc->replaceLinks($entity, $tags, $options + ['associated' => false]);
 		$this->assertSame($tags, $entity->tags);
 		$this->assertFalse($entity->dirty('tags'));
 	}