mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Implement a strong locking check to avoid race conditions during payment
This commit is contained in:
@@ -1517,6 +1517,7 @@ def test_refund_paid_order_automatically_failed(client, env, monkeypatch):
|
||||
p.info_data = {
|
||||
'id': 'foo'
|
||||
}
|
||||
p.save()
|
||||
p.confirm()
|
||||
client.login(email='dummy@dummy.dummy', password='dummy')
|
||||
|
||||
@@ -1556,6 +1557,7 @@ def test_refund_paid_order_automatically(client, env, monkeypatch):
|
||||
p.info_data = {
|
||||
'id': 'foo'
|
||||
}
|
||||
p.save()
|
||||
p.confirm()
|
||||
client.login(email='dummy@dummy.dummy', password='dummy')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user