Skip to content

Commit

Permalink
Update permit automatic expiration test
Browse files Browse the repository at this point in the history
Explicitly remove talpa_order_id to prevent additional Talpa order validation
from the test.
  • Loading branch information
mhieta committed Dec 12, 2024
1 parent 337b3a4 commit 4482c2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion parking_permits/tests/test_cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ def test_automatic_expiration_permits_with_permit_vehicle_changed(self):
product = ProductFactory(
unit_price=unit_price,
)
order = OrderFactory(customer=self.customer, status=OrderStatus.CONFIRMED)
order = OrderFactory(
customer=self.customer, status=OrderStatus.CONFIRMED, talpa_order_id=None
)
OrderItemFactory(
order=order,
permit=permit_1,
Expand Down

0 comments on commit 4482c2f

Please sign in to comment.