Merge pull request #2950 from markparonyan/api-issue-14-yywwso

fix(api): return 200 instead of 201 for ACL endpoints, IOU license up…
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2026-10-07 13:50:53 +02:00
commit 0836e01525
8 files changed
+18 -6

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ class TestControllerProjectRoutes:
with asyncio_patch("gns3server.controller.project.Project.open", return_value=True) as mock:
response = await client.post(app.url_path_for("open_project", project_id=project.id))
assert response.status_code == status.HTTP_201_CREATED
assert response.status_code == status.HTTP_200_OK
assert mock.called
async def test_load_project(self, app: FastAPI, client: AsyncClient, project: Project, config) -> None: