Skip to content

Commit 30d0173

Browse files
committed
modify more mock data
1 parent e35804a commit 30d0173

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"thumbnail": "https://via.placeholder.com/170x120.png",
3737
"creationDate": "2023-10-10T20:15:22.096Z",
3838
"lastChangeDate": "2023-10-10T20:15:22.096Z",
39+
"workspaceId": 3,
40+
"folderId": 31,
41+
"trashedAt": null,
3942
"workbench": {
4043
"4b03863d-107a-5c77-a3ca-c5ba1d7048c0": {
4144
"key": "simcore/services/comp/isolve",

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"thumbnail": "https://via.placeholder.com/170x120.png",
3737
"creationDate": "2023-10-10T20:15:22.096Z",
3838
"lastChangeDate": "2023-10-10T20:15:22.096Z",
39+
"workspaceId": 3,
40+
"folderId": 1,
41+
"trashedAt": null,
3942
"workbench": {
4043
"4b03863d-107a-5c77-a3ca-c5ba1d7048c0": {
4144
"key": "simcore/services/comp/isolve",
@@ -152,7 +155,11 @@
152155
"data": {
153156
"pricingUnitId": 1,
154157
"unitName": "small",
155-
"unitExtraInfo": {},
158+
"unitExtraInfo": {
159+
"CPU": 500,
160+
"RAM": 26598,
161+
"VRAM": 456789123456
162+
},
156163
"currentCostPerUnit": 50,
157164
"default": true
158165
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"thumbnail": "https://via.placeholder.com/170x120.png",
3737
"creationDate": "2023-10-26T14:13:08.013Z",
3838
"lastChangeDate": "2023-10-26T14:13:08.013Z",
39+
"workspaceId": 3,
40+
"folderId": 2,
41+
"trashedAt": null,
3942
"workbench": {
4043
"3b0b20e0-c860-51d9-9f82-d6b4bc5c2f24": {
4144
"key": "simcore/services/comp/itis/sleeper",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"thumbnail": "https://via.placeholder.com/170x120.png",
3737
"creationDate": "2023-10-26T14:10:11.118Z",
3838
"lastChangeDate": "2023-10-26T14:10:11.118Z",
39+
"workspaceId": 12,
40+
"folderId": 2,
41+
"trashedAt": null,
3942
"workbench": {
4043
"657b124c-0697-5166-b820-a2ea2704ae84": {
4144
"key": "simcore/services/comp/itis/sleeper",

0 commit comments

Comments
 (0)