Skip to content

Commit 665c16e

Browse files
committed
update mock data
1 parent c31bbb3 commit 665c16e

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

packages/pytest-simcore/src/pytest_simcore/simcore_webserver_projects_rest_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def request_desc(self) -> str:
9696
"creationDate": "2021-12-06T10:13:03.100Z",
9797
"lastChangeDate": "2021-12-06T10:13:03.100Z",
9898
"workbench": {},
99+
"workspaceId": 123,
100+
"folderId": 2,
101+
"trashedAt": "2021-12-06T10:13:18.100Z",
99102
"accessRights": {"2": {"read": True, "write": True, "delete": True}},
100103
"dev": {},
101104
"classifiers": [],

services/api-server/tests/mocks/for_test_api_routes_studies.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
"thumbnail": "",
9090
"creationDate": "2023-07-18T12:18:04.314Z",
9191
"lastChangeDate": "2023-07-20T20:02:42.535Z",
92+
"workspaceId": 278,
93+
"folderId": 123,
94+
"trashedAt": "2023-07-20T20:02:55.535Z",
9295
"workbench": {
9396
"deea006c-a223-4103-b46e-7b677428de9f": {
9497
"key": "simcore/services/frontend/file-picker",
@@ -308,6 +311,9 @@
308311
"thumbnail": "",
309312
"creationDate": "2023-07-18T12:18:04.314Z",
310313
"lastChangeDate": "2023-07-20T20:04:05.607Z",
314+
"workspaceId": 278,
315+
"folderId": 123,
316+
"trashedAt": "2023-07-20T20:04:10.607Z",
311317
"workbench": {
312318
"deea006c-a223-4103-b46e-7b677428de9f": {
313319
"key": "simcore/services/frontend/file-picker",

services/api-server/tests/mocks/on_list_jobs.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
"thumbnail": "https://via.placeholder.com/170x120.png",
102102
"creationDate": "2023-06-22T18:42:35.506Z",
103103
"lastChangeDate": "2023-06-22T18:42:35.506Z",
104+
"workspaceId": 7,
105+
"folderId": 1,
106+
"trashedAt": "2023-06-22T18:42:36.506Z",
104107
"workbench": {
105108
"05c7ed3b-0be1-5077-8065-fb55f5e59ff3": {
106109
"key": "simcore/services/comp/itis/sleeper",
@@ -171,6 +174,9 @@
171174
"thumbnail": "https://via.placeholder.com/170x120.png",
172175
"creationDate": "2023-06-22T18:42:32.201Z",
173176
"lastChangeDate": "2023-06-22T18:42:32.201Z",
177+
"workspaceId": 4,
178+
"folderId": 8,
179+
"trashedAt": "2023-06-22T18:42:33.201Z",
174180
"workbench": {
175181
"34805d7e-c2d0-561f-831f-c74a28fc9bd1": {
176182
"key": "simcore/services/comp/itis/sleeper",

services/api-server/tests/mocks/test_get_and_update_study_job_metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@
208208
"thumbnail": "",
209209
"creationDate": "2024-05-30T10:29:54.150Z",
210210
"lastChangeDate": "2024-05-30T10:29:54.150Z",
211+
"workspaceId": 3,
212+
"folderId": 12,
213+
"trashedAt": "2024-05-30T10:30:54.137359",
211214
"workbench": {
212215
"45043872-d6d3-530b-bf40-67bfde79191c": {
213216
"key": "simcore/services/dynamic/jupyter-math",

0 commit comments

Comments
 (0)