diff --git a/.travis.yml b/.travis.yml index e231d1c..10db2ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,12 @@ language: php php: - - 5.4 - - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 + - 7.3 + - 7.4 sudo: false dist: trusty diff --git a/Test/Case/Model/Behavior/SaveRoomAssociationsBehavior/SaveDefaultPageTest.php b/Test/Case/Model/Behavior/SaveRoomAssociationsBehavior/SaveDefaultPageTest.php index e2ccdad..1deac3d 100644 --- a/Test/Case/Model/Behavior/SaveRoomAssociationsBehavior/SaveDefaultPageTest.php +++ b/Test/Case/Model/Behavior/SaveRoomAssociationsBehavior/SaveDefaultPageTest.php @@ -113,7 +113,7 @@ public function testPageOnExceptionError($data) { * @return void */ public function testRoomOnExceptionError($data) { - $this->_mockForReturnTrue('TestModel', 'Pages.Page', 'savePage'); + $this->_mockForReturn('TestModel', 'Pages.Page', 'savePage', ['Page' => ['id' => '5']]); $this->_mockForReturnFalse('TestModel', 'Rooms.Room', 'updateAll'); //テスト実施