diff --git a/src/tests/plugins/paypal2/test_webhook.py b/src/tests/plugins/paypal2/test_webhook.py index 282d433ada..1b410735c2 100644 --- a/src/tests/plugins/paypal2/test_webhook.py +++ b/src/tests/plugins/paypal2/test_webhook.py @@ -322,6 +322,7 @@ def get_test_empty_captures(): 'rel': 'self', 'method': 'GET'}]} + class Object(): pass @@ -572,6 +573,7 @@ def test_webhook_empty_captures(env, client, monkeypatch): order.refresh_from_db() assert order.status == Order.STATUS_PENDING + @pytest.mark.django_db def test_webhook_mark_paid(env, client, monkeypatch): order = env[1]