fix tests

This commit is contained in:
Julien Aldon
2026-03-06 11:26:02 +01:00
parent b4b4fa7643
commit c27c7598b5
10 changed files with 586 additions and 147 deletions

View File

@@ -203,7 +203,7 @@ def get_contract_files(
user: models.User = Depends(get_current_user)
):
"""Get all contract files for a given form"""
if not form_service.is_allowed(session, user, form_id):
if not service.is_allowed(session, user, form_id):
raise HTTPException(
status_code=403,
detail=messages.Messages.not_allowed('contracts', 'get')