Skip to content

Commit

Permalink
[FIX] Test script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheerayutEncoder committed Feb 25, 2025
1 parent 43b5eb0 commit 8b165a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_02_cancel_payment(self):
payment = payment_register_form.save()
payment.action_create_payments()
payment = self.payment_model.search([], order="id desc", limit=1)
self.assertEqual(payment.state, "posted")
self.assertEqual(payment.state, "paid")
# Click cance, cancel confirm wizard will open. Type in cancel_reason
res = payment.action_cancel()
ctx = res.get("context")
Expand Down

0 comments on commit 8b165a8

Please sign in to comment.