From b3bef8e8759edca3a6aff0e653de54a59ed5110e Mon Sep 17 00:00:00 2001 From: Lena Haraldseid Date: Tue, 2 Jul 2024 09:17:15 +0200 Subject: [PATCH] wip --- e2e-tests/e2eTest.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () => {