diff --git a/plugins/catalog-backend/src/service/createRouter.test.ts b/plugins/catalog-backend/src/service/createRouter.test.ts index 5687bc1f85..57d476ac10 100644 --- a/plugins/catalog-backend/src/service/createRouter.test.ts +++ b/plugins/catalog-backend/src/service/createRouter.test.ts @@ -742,6 +742,7 @@ describe('createRouter readonly disabled', () => { expect(response.status).toEqual(200); expect(orchestrator.process).toHaveBeenCalledTimes(1); expect(orchestrator.process).toHaveBeenCalledWith({ + credentials: mockCredentials.user(), entity: { apiVersion: 'a', kind: 'b', @@ -779,6 +780,7 @@ describe('createRouter readonly disabled', () => { expect(response.body.errors[0].message).toEqual('Invalid entity name'); expect(orchestrator.process).toHaveBeenCalledTimes(1); expect(orchestrator.process).toHaveBeenCalledWith({ + credentials: mockCredentials.user(), entity: { apiVersion: 'a', kind: 'b',