From 43560b3269211fbd16b7b40ef6e496b16648117b Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 27 Aug 2024 14:40:15 +0100 Subject: [PATCH] Fix environment test. --- packages/worker/src/tests/api/environment.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/worker/src/tests/api/environment.ts b/packages/worker/src/tests/api/environment.ts index d9f82c5f0d..d6a76f3b06 100644 --- a/packages/worker/src/tests/api/environment.ts +++ b/packages/worker/src/tests/api/environment.ts @@ -9,6 +9,7 @@ export class EnvironmentAPI extends TestAPI { getEnvironment = () => { return this.request .get(`/api/system/environment`) + .set(this.config.defaultHeaders()) .expect("Content-Type", /json/) .expect(200) }