fixup! manager: detect partial booking checks overlap using only form data (#82231)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Valentin Deniaud 2023-11-20 10:59:32 +01:00
parent 1e434776d7
commit 93b115464b
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ def test_manager_partial_bookings_multiple_checks(app, admin_user):
assert 'Arrival must be before departure.' in resp.text
assert 'gadjo-folded' not in resp.text
# overlap is detected when 2 checks are created at the same time
# overlap is detected when 2 checks are created at the same time
BookingCheck.objects.all().delete()
resp.form['presence'] = 'True'