Skip to content

Commit bc09b89

Browse files
committed
test(bulk-import): update target URLs to use 'blob/master' for catalog-info.yaml
Signed-off-by: Dominik Augustín <daugusti@redhat.com>
1 parent 988f016 commit bc09b89

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/repository/repositories-gitlab.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe('repositories', () => {
197197
data: {
198198
id: 'imported-funtimes',
199199
target:
200-
'http://localhost:8765/saltypig1/funtimes/catalog-info.yaml',
200+
'http://localhost:8765/saltypig1/funtimes/blob/main/catalog-info.yaml',
201201
type: 'url',
202202
},
203203
},
@@ -255,23 +255,23 @@ describe('repositories', () => {
255255
data: {
256256
id: 'imported-dolbear',
257257
target:
258-
'http://localhost:8765/saltypig1/dolbear/catalog-info.yaml',
258+
'http://localhost:8765/saltypig1/dolbear/blob/main/catalog-info.yaml',
259259
type: 'url',
260260
},
261261
},
262262
{
263263
data: {
264264
id: 'imported-funtimes',
265265
target:
266-
'http://localhost:8765/saltypig1/funtimes/catalog-info.yaml',
266+
'http://localhost:8765/saltypig1/funtimes/blob/main/catalog-info.yaml',
267267
type: 'url',
268268
},
269269
},
270270
{
271271
data: {
272272
id: 'imported-swapi-node',
273273
target:
274-
'http://localhost:8765/saltypig1/swapi-node/catalog-info.yaml',
274+
'http://localhost:8765/saltypig1/swapi-node/blob/main/catalog-info.yaml',
275275
type: 'url',
276276
},
277277
},

workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/repository/repositories.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ describe('repositories', () => {
236236
data: {
237237
id: 'imported-hello-world',
238238
target:
239-
'http://localhost:8765/octocat/Hello-World/catalog-info.yaml',
239+
'http://localhost:8765/octocat/Hello-World/blob/master/catalog-info.yaml',
240240
type: 'url',
241241
},
242242
},
@@ -293,23 +293,23 @@ describe('repositories', () => {
293293
data: {
294294
id: 'imported-animated-happiness',
295295
target:
296-
'http://localhost:8765/octocat/animated-happiness/catalog-info.yaml',
296+
'http://localhost:8765/octocat/animated-happiness/blob/master/catalog-info.yaml',
297297
type: 'url',
298298
},
299299
},
300300
{
301301
data: {
302302
id: 'imported-hello-world',
303303
target:
304-
'http://localhost:8765/octocat/Hello-World/catalog-info.yaml',
304+
'http://localhost:8765/octocat/Hello-World/blob/master/catalog-info.yaml',
305305
type: 'url',
306306
},
307307
},
308308
{
309309
data: {
310310
id: 'imported-lorem-ipsum',
311311
target:
312-
'http://localhost:8765/my-user/Lorem-Ipsum/catalog-info.yaml',
312+
'http://localhost:8765/my-user/Lorem-Ipsum/blob/master/catalog-info.yaml',
313313
type: 'url',
314314
},
315315
},

0 commit comments

Comments
 (0)