UT: Modify test_authentication_successful to not check for 'error' field in response

This commit is contained in:
Shreya Malviya 2022-08-02 14:02:36 +05:30
parent 05f9e527e9
commit 40f69f0e58
1 changed files with 0 additions and 1 deletions

View File

@ -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"]
)