diff --git a/authentik/core/tests/test_applications_api.py b/authentik/core/tests/test_applications_api.py index 23e93ee60..dffe7333d 100644 --- a/authentik/core/tests/test_applications_api.py +++ b/authentik/core/tests/test_applications_api.py @@ -62,7 +62,6 @@ class TestApplicationsAPI(APITestCase): body = loads(response.content.decode()) self.assertEqual(body["passing"], False) self.assertEqual(body["messages"], ["dummy"]) - self.assertEqual(body["log_messages"][0]["event"], "Policy waiting") def test_list(self): """Test list operation without superuser_full_list""" diff --git a/authentik/policies/tests/test_policies_api.py b/authentik/policies/tests/test_policies_api.py index a2e0dac89..1eb9cf5d3 100644 --- a/authentik/policies/tests/test_policies_api.py +++ b/authentik/policies/tests/test_policies_api.py @@ -28,7 +28,6 @@ class TestPoliciesAPI(APITestCase): body = loads(response.content.decode()) self.assertEqual(body["passing"], True) self.assertEqual(body["messages"], ["dummy"]) - self.assertEqual(body["log_messages"][0]["event"], ["Policy waiting"]) def test_types(self): """Test Policy's types endpoint"""