Bulk order-refund: Create log entries (Z#23203462) (#5357)

This commit is contained in:
Raphael Michel
2025-08-19 12:09:23 +02:00
committed by GitHub
parent 7e3f6df945
commit 7cdccc7d8e
2 changed files with 5 additions and 0 deletions

View File

@@ -300,6 +300,7 @@ def test_order_bulk_overpaid_refund_explicit_id(client, env, order1, order2):
with scopes_disabled():
assert order1.refunds.exists()
assert order1.refunds.get().amount == Decimal('2.00')
assert order1.all_logentries().count() == 1
@pytest.mark.django_db