@@ -14,7 +14,6 @@ const aplConfig: SaleorCloudAPLConfig = {
14
14
} ;
15
15
16
16
const stubAuthData : AuthData = {
17
- domain : "example.com" ,
18
17
token : "example-token" ,
19
18
saleorApiUrl : "https://example.com/graphql/" ,
20
19
appId : "42" ,
@@ -47,7 +46,6 @@ describe("APL", () => {
47
46
saleor_app_id : "42" ,
48
47
saleor_api_url : "https://example.com/graphql/" ,
49
48
jwks : "{}" ,
50
- domain : "example.com" ,
51
49
token : "example-token" ,
52
50
} ) ,
53
51
headers : {
@@ -129,7 +127,6 @@ describe("APL", () => {
129
127
saleor_app_id : stubAuthData . appId ,
130
128
saleor_api_url : stubAuthData . saleorApiUrl ,
131
129
jwks : stubAuthData . jwks ,
132
- domain : stubAuthData . domain ,
133
130
token : stubAuthData . token ,
134
131
} ) ,
135
132
} ) ;
@@ -170,7 +167,6 @@ describe("APL", () => {
170
167
saleor_app_id : stubAuthData . appId ,
171
168
saleor_api_url : stubAuthData . saleorApiUrl ,
172
169
jwks : stubAuthData . jwks ,
173
- domain : stubAuthData . domain ,
174
170
token : stubAuthData . token ,
175
171
} ) ,
176
172
} ) ;
@@ -219,7 +215,7 @@ describe("APL", () => {
219
215
saleor_app_id : "x" ,
220
216
} ,
221
217
{
222
- domain : "example2 .com" ,
218
+ domain : "example .com" ,
223
219
jwks : "{}" ,
224
220
token : "token2" ,
225
221
saleor_api_url : "https://example2.com/graphql/" ,
@@ -237,14 +233,12 @@ describe("APL", () => {
237
233
expect ( await apl . getAll ( ) ) . toStrictEqual ( [
238
234
{
239
235
appId : "x" ,
240
- domain : "example.com" ,
241
236
jwks : "{}" ,
242
237
saleorApiUrl : "https://example.com/graphql/" ,
243
238
token : "token1" ,
244
239
} ,
245
240
{
246
241
appId : "y" ,
247
- domain : "example2.com" ,
248
242
jwks : "{}" ,
249
243
saleorApiUrl : "https://example2.com/graphql/" ,
250
244
token : "token2" ,
@@ -285,7 +279,7 @@ describe("APL", () => {
285
279
previous : "https://example.com?page=1" ,
286
280
results : [
287
281
{
288
- domain : "example2 .com" ,
282
+ domain : "example .com" ,
289
283
jwks : "{}" ,
290
284
token : "token2" ,
291
285
saleor_api_url : "https://example2.com/graphql/" ,
@@ -303,14 +297,12 @@ describe("APL", () => {
303
297
expect ( await apl . getAll ( ) ) . toStrictEqual ( [
304
298
{
305
299
appId : "x" ,
306
- domain : "example.com" ,
307
300
jwks : "{}" ,
308
301
saleorApiUrl : "https://example.com/graphql/" ,
309
302
token : "token1" ,
310
303
} ,
311
304
{
312
305
appId : "y" ,
313
- domain : "example2.com" ,
314
306
jwks : "{}" ,
315
307
saleorApiUrl : "https://example2.com/graphql/" ,
316
308
token : "token2" ,
0 commit comments