function test_updateLocationId() { //Arrange $user1_id = 1; $user2_id = 2; $user1_confirm = 1; $user2_confirm = 1; $location_id = 1; $confirm_meet_usr1 = 1; $confirm_meet_usr2 = 0; $id = 1; $test_meetup = new Meetup($user1_id, $user2_id, $user1_confirm, $user2_confirm, $location_id, $confirm_meet_usr1, $confirm_meet_usr2, $id); $test_meetup->save(); $new_location_id = 2; //Act $test_meetup->updateLocationId($new_location_id); //Assert $this->assertEquals($test_meetup->getLocation_Id(), $new_location_id); }