Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 7acb78f

Browse files
committed
fix: broken test
1 parent 23ec130 commit 7acb78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_health_check(test_client: TestClient) -> None:
8181
assert response.status_code == 200
8282
assert response.json() == {"status": "healthy"}
8383

84-
@patch("codegate.api.dashboard.fetch_latest_version", return_value="foo")
84+
@patch("codegate.api.dashboard.dashboard.fetch_latest_version", return_value="foo")
8585
def test_version_endpoint(mock_fetch_latest_version, test_client: TestClient) -> None:
8686
"""Test the version endpoint."""
8787
response = test_client.get("/api/v1/dashboard/version")

0 commit comments

Comments
 (0)