mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Check-in: New error reason for unapproved orders (#3741)
* Check-in: New error reason for unapproved orders * Fix documentation verbiage
This commit is contained in:
@@ -243,7 +243,7 @@ def test_require_approval(position, clist):
|
||||
clist.save()
|
||||
with pytest.raises(CheckInError) as excinfo:
|
||||
perform_checkin(position, clist, {}, ignore_unpaid=True)
|
||||
assert excinfo.value.code == 'unpaid'
|
||||
assert excinfo.value.code == 'unapproved'
|
||||
perform_checkin(position, clist, {}, ignore_unpaid=True, force=True)
|
||||
assert position.checkins.count() == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user