From d0a67254e4ef48f379f974da8761ba493f5b30c1 Mon Sep 17 00:00:00 2001 From: pgayvallet Date: Fri, 15 May 2020 09:24:45 +0200 Subject: [PATCH] fix test config creation --- src/core/server/http/cookie_session_storage.test.ts | 1 + src/core/server/http/test_utils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/core/server/http/cookie_session_storage.test.ts b/src/core/server/http/cookie_session_storage.test.ts index 4ce422e1f65c4..0ca87eae6e235 100644 --- a/src/core/server/http/cookie_session_storage.test.ts +++ b/src/core/server/http/cookie_session_storage.test.ts @@ -62,6 +62,7 @@ configService.atPath.mockReturnValue( disableProtection: true, whitelist: [], }, + customResponseHeaders: {}, } as any) ); diff --git a/src/core/server/http/test_utils.ts b/src/core/server/http/test_utils.ts index 49c4d690c6876..0e639aa72a825 100644 --- a/src/core/server/http/test_utils.ts +++ b/src/core/server/http/test_utils.ts @@ -45,6 +45,7 @@ configService.atPath.mockReturnValue( disableProtection: true, whitelist: [], }, + customResponseHeaders: {}, } as any) );