diff --git a/monkey/tests/unit_tests/monkey_island/cc/resources/auth/test_auth.py b/monkey/tests/unit_tests/monkey_island/cc/resources/auth/test_auth.py index 465b0f772..6d5af8a94 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/resources/auth/test_auth.py +++ b/monkey/tests/unit_tests/monkey_island/cc/resources/auth/test_auth.py @@ -37,7 +37,6 @@ def test_authentication_successful(make_auth_request, mock_authentication_servic response = make_auth_request(TEST_REQUEST) assert response.status_code == 200 - assert response.json["error"] == "" assert re.match( r"^[a-zA-Z0-9+/=]+\.[a-zA-Z0-9+/=]+\.[a-zA-Z0-9+/=\-_]+$", response.json["access_token"] )