diff --git a/cake/tests/cases/libs/model/model_write.test.php b/cake/tests/cases/libs/model/model_write.test.php index f57dc0eb4c9..b43b0facfae 100644 --- a/cake/tests/cases/libs/model/model_write.test.php +++ b/cake/tests/cases/libs/model/model_write.test.php @@ -322,6 +322,7 @@ function testCacheClearOnSave() { $data = array( 'OverallFavorite' => array( + 'id' => 22, 'model_type' => '8-track', 'model_id' => '3', 'priority' => '1' @@ -383,6 +384,7 @@ function testCounterCacheIncrease() { $User = new CounterCacheUser(); $Post = new CounterCachePost(); $data = array('Post' => array( + 'id' => 22, 'title' => 'New Post', 'user_id' => 66 )); @@ -2007,7 +2009,7 @@ function testHabtmSaveWithConditionsInAssociation() { 'DoomedSomethingElse' => array( 'className' => 'SomethingElse', 'joinTable' => 'join_things', - 'conditions' => 'JoinThing.doomed = 1', + 'conditions' => 'JoinThing.doomed = true', 'unique' => true ), 'NotDoomedSomethingElse' => array(