Skip to content

Commit

Permalink
[FIX] survey_resource_booking: adapt to partner refactor
Browse files Browse the repository at this point in the history
We need to adapt tests to OCA/calendar#110

TT45338
  • Loading branch information
chienandalu authored and arielbarreiros96 committed Nov 21, 2024
1 parent f72b272 commit 15205ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion survey_resource_booking/tests/test_invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_new_booking_survey_invitation(self):
# Make sure RB gets surveyed as expected
booking_f = Form(self.env["resource.booking"])
booking_f.type_id = self.rbt
booking_f.partner_id = self.partner
booking_f.partner_ids.add(self.partner)
booking_f.start = datetime(2021, 3, 1, 8)
booking = booking_f.save()
self.assertEqual(booking.state, "scheduled")
Expand Down

0 comments on commit 15205ca

Please sign in to comment.