We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b319bd8 commit 8e9ba8eCopy full SHA for 8e9ba8e
lambdas/authorizer/src/__tests__/index.test.ts
@@ -183,8 +183,8 @@ describe('Authorizer Lambda Function', () => {
183
}));
184
});
185
186
- it('Should allow the request when the supplier ID case mismatches', async () => {
187
- mockEvent.headers = { 'NHSD-Supplier-ID': 'Valid-Apim-Id' };
+ it('Should allow the request when the supplier ID key case mismatches', async () => {
+ mockEvent.headers = { 'nhsd-supplier-id': 'Valid-Apim-Id' };
188
(mockedDeps.supplierRepo.getSupplierByApimId as jest.Mock).mockResolvedValue({
189
id: 'supplier-123',
190
apimApplicationId: 'valid-apim-id',
0 commit comments