Skip to content

Commit 1f9f500

Browse files
committedDec 13, 2024·
update screenshot tests
1 parent 5240f33 commit 1f9f500

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎screenshot-test/App.screenshot.js

+8
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,14 @@ function getMockResponse(url) {
221221
body: companyDetails,
222222
};
223223
break;
224+
case `${SERVER_URL}api/companies/service-account/token`:
225+
case `${SERVER_URL}api/companies/{id}/service-account/token`:
226+
res = {
227+
status: 200,
228+
contentType: 'application/json',
229+
body: companyUserToken,
230+
};
231+
break;
224232
case `${SERVER_URL}api/users/non-company-emails`:
225233
res = {
226234
status: 200,

‎screenshot-test/data/api-company-user-tokens.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"usageLimit": null,
88
"currentUsage": 0,
99
"renewable": true,
10+
"name": "Token",
1011
"user": {
1112
"id": 4,
1213
"login": "user",

0 commit comments

Comments
 (0)
Please sign in to comment.