Skip to content

Commit c37f3dc

Browse files
clieaning
1 parent 4e4675f commit c37f3dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

services/web/server/tests/unit/with_dbs/04/workspaces/test_workspaces__moving_folders_between_workspaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async def _move_folder_to_workspace_and_assert(
169169
folder_id=folder_id,
170170
workspace_id=workspace_id,
171171
)
172-
resp = await client.put(f"{url}")
172+
resp = await client.post(f"{url}")
173173
await assert_status(resp, NO_CONTENT)
174174

175175
# ASSERT

services/web/server/tests/unit/with_dbs/04/workspaces/test_workspaces__moving_projects_between_workspaces.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def test_moving_between_workspaces_user_role_permissions(
5858
base_url = client.app.router["move_project_to_workspace"].url_for(
5959
project_id=fake_project["uuid"], workspace_id="null"
6060
)
61-
resp = await client.put(f"{base_url}")
61+
resp = await client.post(f"{base_url}")
6262
await assert_status(resp, expected.no_content)
6363

6464

@@ -106,7 +106,7 @@ async def test_moving_between_private_and_shared_workspaces(
106106
base_url = client.app.router["move_project_to_workspace"].url_for(
107107
project_id=project["uuid"], workspace_id="null"
108108
)
109-
resp = await client.put(f"{base_url}")
109+
resp = await client.post(f"{base_url}")
110110
await assert_status(resp, status.HTTP_204_NO_CONTENT)
111111

112112
# Get project in workspace
@@ -119,7 +119,7 @@ async def test_moving_between_private_and_shared_workspaces(
119119
base_url = client.app.router["move_project_to_workspace"].url_for(
120120
project_id=project["uuid"], workspace_id=f"{added_workspace['workspaceId']}"
121121
)
122-
resp = await client.put(f"{base_url}")
122+
resp = await client.post(f"{base_url}")
123123
await assert_status(resp, status.HTTP_204_NO_CONTENT)
124124

125125
# Get project in workspace
@@ -185,7 +185,7 @@ async def test_moving_between_shared_and_shared_workspaces(
185185
base_url = client.app.router["move_project_to_workspace"].url_for(
186186
project_id=project["uuid"], workspace_id=f"{second_workspace['workspaceId']}"
187187
)
188-
resp = await client.put(f"{base_url}")
188+
resp = await client.post(f"{base_url}")
189189
await assert_status(resp, status.HTTP_204_NO_CONTENT)
190190

191191
# Get project in workspace
@@ -265,7 +265,7 @@ async def test_moving_between_workspaces_check_removed_from_folder(
265265
base_url = client.app.router["move_project_to_workspace"].url_for(
266266
project_id=project["uuid"], workspace_id="none"
267267
)
268-
resp = await client.put(f"{base_url}")
268+
resp = await client.post(f"{base_url}")
269269
await assert_status(resp, status.HTTP_204_NO_CONTENT)
270270

271271
# Get project in workspace

0 commit comments

Comments
 (0)