diff --git a/packages/server/src/api/routes/tests/utilities/TestFunctions.ts b/packages/server/src/api/routes/tests/utilities/TestFunctions.ts index 27d8592849..15a3ede39b 100644 --- a/packages/server/src/api/routes/tests/utilities/TestFunctions.ts +++ b/packages/server/src/api/routes/tests/utilities/TestFunctions.ts @@ -151,7 +151,7 @@ export const checkPermissionsEndpoint = async ({ await exports .createRequest(config.request, method, url, body) .set(failHeader) - .expect(403) + .expect(401) } export const getDB = () => {