From ec666931d9ad16ff267feffbac1c5695aca02c48 Mon Sep 17 00:00:00 2001 From: Vincenz Koop Date: Thu, 13 Jun 2024 16:01:47 +0200 Subject: [PATCH] fixed validation tests --- packages/got-api-test/package.json | 2 +- packages/got-api-test/v1/generated/validation.spec.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/got-api-test/package.json b/packages/got-api-test/package.json index b1cad2cc..15cd29b0 100644 --- a/packages/got-api-test/package.json +++ b/packages/got-api-test/package.json @@ -1,6 +1,6 @@ { "name": "@gothub/got-api-test", - "version": "0.1.8", + "version": "0.1.9", "license": "MIT", "type": "module", "main": "index.ts", diff --git a/packages/got-api-test/v1/generated/validation.spec.ts b/packages/got-api-test/v1/generated/validation.spec.ts index 97d3dff4..db2168ba 100644 --- a/packages/got-api-test/v1/generated/validation.spec.ts +++ b/packages/got-api-test/v1/generated/validation.spec.ts @@ -18,6 +18,7 @@ let headers: Record; beforeAll(async () => { const user1Api = await createUserApi(env.TEST_USER_1_EMAIL, env.TEST_USER_1_PW); headers = { + 'Content-Type': 'application/json', Authorization: `${user1Api.getCurrentSession()?.idToken}`, }; });