diff --git a/aidants_connect_habilitation/tests/factories.py b/aidants_connect_habilitation/tests/factories.py index 1050953b7..5f71df8d1 100644 --- a/aidants_connect_habilitation/tests/factories.py +++ b/aidants_connect_habilitation/tests/factories.py @@ -92,7 +92,7 @@ class OrganisationRequestFactory(DjangoModelFactory): [ value for value in RequestStatusConstants.values() - if value != RequestStatusConstants.NEW.value + if value != RequestStatusConstants.NEW.name ] )