From 4448b13bb8c8772cfb105c8ecf303d466071e2e1 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Tue, 20 Aug 2024 10:11:01 +0100 Subject: [PATCH] fix: add json encoding to test --- test/functional/systemcheck-universal.test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/functional/systemcheck-universal.test.ts b/test/functional/systemcheck-universal.test.ts index 8c443723f..0da01e50a 100644 --- a/test/functional/systemcheck-universal.test.ts +++ b/test/functional/systemcheck-universal.test.ts @@ -407,7 +407,12 @@ describe('broker client systemcheck endpoint', () => { const response = await axiosClient.get( `http://localhost:${bc.port}/systemcheck`, - { timeout: 10_000 }, + { + timeout: 10_000, + headers: { + 'Content-Type': 'application/json', + }, + }, ); expect(response.data).toBeInstanceOf(Array);