test(agent99): mount enterprise ledger route correctly
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m30s
CD Pipeline / build-and-deploy (push) Successful in 5m33s
CD Pipeline / post-deploy-checks (push) Successful in 2m19s

This commit is contained in:
ogt
2026-07-10 15:27:17 +08:00
parent d4c116bae7
commit 3b1c659f14

View File

@@ -96,7 +96,7 @@ def test_agent99_enterprise_loader_rejects_duplicate_ids(tmp_path: Path) -> None
def test_agent99_enterprise_work_items_endpoint_returns_snapshot() -> None:
app = FastAPI()
app.include_router(router, prefix="/api/v1/agents")
app.include_router(router, prefix="/api/v1")
client = TestClient(app)
response = client.get("/api/v1/agents/agent99-enterprise-ai-automation-work-items")