diff --git a/awx/main/tests/functional/dab_feature_flags/test_feature_flags_api.py b/awx/main/tests/functional/dab_feature_flags/test_feature_flags_api.py index abd4c5e7c90e..490b3ac6e169 100644 --- a/awx/main/tests/functional/dab_feature_flags/test_feature_flags_api.py +++ b/awx/main/tests/functional/dab_feature_flags/test_feature_flags_api.py @@ -4,13 +4,14 @@ from awx.main.models import User +@override_settings(FLAGS={}) @pytest.mark.django_db def test_feature_flags_list_endpoint(get): bob = User.objects.create(username='bob', password='test_user', is_superuser=False) url = "/api/v2/feature_flags_state/" response = get(url, user=bob, expect=200) - assert len(response.data) == 1 + assert len(response.data) == 0 @override_settings(