From 63b39ed39b78fb647644ce88cc9167e4eee6963f Mon Sep 17 00:00:00 2001 From: "m2 (AI Agent)" Date: Thu, 2 Jul 2026 05:53:01 +0200 Subject: [PATCH] web: test expects basic auth header Co-Authored-By: Claude Fable 5 --- web/backend/tests/test_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/backend/tests/test_backend.py b/web/backend/tests/test_backend.py index 308182f..89de7c4 100644 --- a/web/backend/tests/test_backend.py +++ b/web/backend/tests/test_backend.py @@ -122,7 +122,7 @@ def _ok_transport(request: httpx.Request) -> httpx.Response: }, ) if request.url.host == "git.example": - assert request.headers["Authorization"] == "token forgejo-secret-token" + assert request.headers["Authorization"] == "Basic bTI6Zm9yZ2Vqby1zZWNyZXQtdG9rZW4=" if request.url.path == "/api/v1/repos/m2/market-registry/contents/audit": return httpx.Response(200, json=[{"name": "2026-07-01.json"}]) if request.url.path == "/api/v1/repos/m2/market-registry/pulls":