Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Nov 28, 2024
1 parent c3899b3 commit 889730b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/service/test_rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def test_get_without_authentication(
response = client.get("/devices/my-device")

assert response.status_code == status.HTTP_401_UNAUTHORIZED
assert response.json() == {}
assert response.json() == {"detail": "Not authenticated"}


def test_oidc_config_not_found_when_auth_is_disabled(client: TestClient):
Expand Down

0 comments on commit 889730b

Please sign in to comment.