From 73beead7480466607d9abe83c97aa204722f07d2 Mon Sep 17 00:00:00 2001 From: Marc Bruins Date: Fri, 25 Nov 2022 06:44:47 +0100 Subject: [PATCH] add project to tests expects Signed-off-by: Marc Bruins --- .../catalog-backend-module-azure/src/lib/azure.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/catalog-backend-module-azure/src/lib/azure.test.ts b/plugins/catalog-backend-module-azure/src/lib/azure.test.ts index 7c3fc0f9e3..14cd1d082f 100644 --- a/plugins/catalog-backend-module-azure/src/lib/azure.test.ts +++ b/plugins/catalog-backend-module-azure/src/lib/azure.test.ts @@ -33,7 +33,7 @@ describe('azure', () => { (req, res, ctx) => { expect(req.headers.get('Authorization')).toBe('Basic OkFCQw=='); expect(req.body).toEqual({ - searchText: 'path:/catalog-info.yaml repo:*', + searchText: 'path:/catalog-info.yaml repo:* proj:*', $skip: 0, $top: 1000, }); @@ -87,7 +87,7 @@ describe('azure', () => { (req, res, ctx) => { expect(req.headers.get('Authorization')).toBe('Basic OkFCQw=='); expect(req.body).toEqual({ - searchText: 'path:/catalog-info.yaml repo:*', + searchText: 'path:/catalog-info.yaml repo:* proj:*', $skip: 0, $top: 1000, }); @@ -127,7 +127,7 @@ describe('azure', () => { (req, res, ctx) => { expect(req.headers.get('Authorization')).toBe('Basic OkFCQw=='); expect(req.body).toEqual({ - searchText: 'path:/catalog-info.yaml repo:backstage', + searchText: 'path:/catalog-info.yaml repo:backstage: proj:*', $skip: 0, $top: 1000, }); @@ -170,7 +170,7 @@ describe('azure', () => { (req, res, ctx) => { expect(req.headers.get('Authorization')).toBe('Basic OkFCQw=='); expect(req.body).toEqual({ - searchText: 'path:/catalog-info.yaml repo:*', + searchText: 'path:/catalog-info.yaml repo:* proj:*', $skip: 0, $top: 1000, });