mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-24 14:54:33 +02:00
fix(api): return 200 instead of 201 for ACL endpoints, IOU license update
This commit is contained in:
8 files changed
+18
-6
No files matched your search
@@ -72,7 +72,7 @@ class TestSnapshotRoutes:
|
||||
response = await client.post(
|
||||
app.url_path_for("restore_snapshot", project_id=project.id, snapshot_id=snapshot.id)
|
||||
)
|
||||
assert response.status_code == status.HTTP_201_CREATED
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
assert response.json()["name"] == project.name
|
||||
|
||||
async def test_create_snapshot(self, app: FastAPI, client: AsyncClient, project: Project) -> None:
|
||||
|
||||
Reference in new issue
Block a user