Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Jan 17, 2025
1 parent f3fe553 commit 67fb6bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions services/api-server/tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ def create_project_task(self, request: httpx.Request):
"prjOwner": "owner@email.com",
"dev": None,
"trashed_at": None,
"trashed_by": None,
**project_create,
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ async def replace_folder(request: web.Request):
parent_folder_id=body_params.parent_folder_id,
product_name=req_ctx.product_name,
)
return envelope_json_response(folder)
return envelope_json_response(
FolderGet.from_domain_model(folder.folder_db, folder.my_access_rights)
)


@routes.delete(
Expand Down

0 comments on commit 67fb6bb

Please sign in to comment.