From c7ff18bbdf639a2aece20aed025498cadd34514c Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Mon, 22 May 2023 22:47:31 +0800 Subject: [PATCH] refactor: fix api tests --- .../src/tests/api/oidc/content-type-json.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integration-tests/src/tests/api/oidc/content-type-json.test.ts b/packages/integration-tests/src/tests/api/oidc/content-type-json.test.ts index 2ba97a338..c423d8e8a 100644 --- a/packages/integration-tests/src/tests/api/oidc/content-type-json.test.ts +++ b/packages/integration-tests/src/tests/api/oidc/content-type-json.test.ts @@ -12,7 +12,7 @@ describe('content-type: application/json compatibility', () => { const expectErrorMessageForPayload = async ( payload: Record, errorMessage: string, - headers?: Headers + headers: Headers = {} ) => { return trySafe( api.post('token', {