diff --git a/plugins/catalog-backend/src/service/AuthorizedEntitiesCatalog.test.ts b/plugins/catalog-backend/src/service/AuthorizedEntitiesCatalog.test.ts index 829e41c21e..8ee10fdbcb 100644 --- a/plugins/catalog-backend/src/service/AuthorizedEntitiesCatalog.test.ts +++ b/plugins/catalog-backend/src/service/AuthorizedEntitiesCatalog.test.ts @@ -30,6 +30,7 @@ describe('AuthorizedEntitiesCatalog', () => { facets: jest.fn(), refresh: jest.fn(), listAncestors: jest.fn(), + paginatedEntities: jest.fn(), }; const fakePermissionApi = { authorize: jest.fn(), diff --git a/plugins/catalog-backend/src/service/DefaultEntitiesCatalog.test.ts b/plugins/catalog-backend/src/service/DefaultEntitiesCatalog.test.ts index a9592ddf86..9b315f42b7 100644 --- a/plugins/catalog-backend/src/service/DefaultEntitiesCatalog.test.ts +++ b/plugins/catalog-backend/src/service/DefaultEntitiesCatalog.test.ts @@ -1281,7 +1281,6 @@ describe('DefaultEntitiesCatalog', () => { { targetRef: 'targetRef', type: 'ownedBy', - target: { kind: 'k', namespace: 'default', name: 'targetRef' }, }, ], }); @@ -1297,20 +1296,10 @@ describe('DefaultEntitiesCatalog', () => { { targetRef: 'anotherTargetRef', type: 'ownedBy', - target: { - kind: 'k', - namespace: 'default', - name: 'anotherTargetRef', - }, }, { targetRef: 'tt', type: 'somethingelse', - target: { - kind: 'k', - namespace: 'default', - name: 'tt', - }, }, ], }); @@ -1326,7 +1315,6 @@ describe('DefaultEntitiesCatalog', () => { { targetRef: 'targetRef', type: 'ownedBy', - target: { kind: 'k', namespace: 'default', name: 'targetRef' }, }, ], }); diff --git a/plugins/catalog-backend/src/service/createRouter.test.ts b/plugins/catalog-backend/src/service/createRouter.test.ts index 85fede25ca..6e2d52c63e 100644 --- a/plugins/catalog-backend/src/service/createRouter.test.ts +++ b/plugins/catalog-backend/src/service/createRouter.test.ts @@ -635,6 +635,7 @@ describe('createRouter readonly enabled', () => { removeEntityByUid: jest.fn(), entityAncestry: jest.fn(), facets: jest.fn(), + paginatedEntities: jest.fn(), }; locationService = { getLocation: jest.fn(), @@ -825,6 +826,7 @@ describe('NextRouter permissioning', () => { removeEntityByUid: jest.fn(), entityAncestry: jest.fn(), facets: jest.fn(), + paginatedEntities: jest.fn(), }; locationService = { getLocation: jest.fn(),