Skip to content

Commit

Permalink
[#3688] Fix existing test after update
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Mar 20, 2024
1 parent 95f26bb commit d8d81b1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def test_update_payment_status(self, m):

m.patch(
"https://objecten.nl/api/v1/objects/111-222-333",
json={}, # Unused in our case, but required as .json() is called on the response
status_code=200,
)

Expand Down Expand Up @@ -117,11 +118,11 @@ def test_template_overwritten_through_options(self, m):

m.patch(
"https://objecten.nl/api/v1/objects/111-222-333",
json={}, # Unused in our case, but required as .json() is called on the response
status_code=200,
)

plugin = ObjectsAPIRegistration(PLUGIN_IDENTIFIER)

with freeze_time("2020-02-02"):
with patch(
"openforms.registrations.contrib.objects_api.models.ObjectsAPIConfig.get_solo",
Expand Down Expand Up @@ -190,6 +191,7 @@ def test_no_template_specified(self, m):

m.patch(
"https://objecten.nl/api/v1/objects/111-222-333",
json={}, # Unused in our case, but required as .json() is called on the response
status_code=200,
)

Expand Down

0 comments on commit d8d81b1

Please sign in to comment.