misc: fix failing test

This commit is contained in:
Lauréline Guérin 2022-12-26 08:40:13 +01:00
parent 2b45ccd702
commit 7dfd386784
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ def test_shared_custody_agenda_month_view_queries(app, admin_user):
assert len(ctx.captured_queries) == 10
@pytest.mark.freeze_time('2022-02-22')
def test_shared_custody_agenda_holiday_rules(app, admin_user):
father = Person.objects.create(user_external_id='father_id', first_name='John', last_name='Doe')
mother = Person.objects.create(user_external_id='mother_id', first_name='Jane', last_name='Doe')