diff --git a/tests/integration/test_auth_api.py b/tests/integration/test_auth_api.py index 1774205a..574c8d59 100644 --- a/tests/integration/test_auth_api.py +++ b/tests/integration/test_auth_api.py @@ -37,7 +37,8 @@ def register_form(): "type": "public"} -def test_respond_201_if_domain_allows_public_registration(client, register_form): +def test_respond_201_if_domain_allows_public_registration(client, settings, register_form): + settings.PUBLIC_REGISTER_ENABLED = True response = client.post(reverse("auth-register"), register_form) assert response.status_code == 201