diff --git a/e2e-tests/e2eTest.spec.ts b/e2e-tests/e2eTest.spec.ts index b38fe9d..6ea026c 100644 --- a/e2e-tests/e2eTest.spec.ts +++ b/e2e-tests/e2eTest.spec.ts @@ -43,7 +43,7 @@ void describe('e2e-tests', () => { } const responseBody = await req.json() assert.equal(req.status, 400) - assert.equal(req.headers.get('Content-Type'), '') + assert.equal(req.headers.get('Content-Type'), 'application/problem+json') assert.deepEqual(responseBody, expectedBody) }) void it('should return a problem details message that describes the reason for the 400 error when not valid iccid', async () => { @@ -60,7 +60,7 @@ void describe('e2e-tests', () => { } const responseBody = await req.json() assert.equal(req.status, 400) - assert.equal(req.headers.get('Content-Type'), '') + assert.equal(req.headers.get('Content-Type'), 'application/problem+json') assert.deepEqual(responseBody, expectedBody) }) void it('should return statusCode 409 and cache max-age=60 when the SIM information is not in DB', async () => {