From 0ba4c6e9429a039845efb91f34428b3be4171483 Mon Sep 17 00:00:00 2001 From: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:19:06 +0200 Subject: [PATCH] test: Get rid of a warning log in tests (#12289) --- packages/cli/test/setup-test-folder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/test/setup-test-folder.ts b/packages/cli/test/setup-test-folder.ts index 997a0ec80f811..8a58c48f865f4 100644 --- a/packages/cli/test/setup-test-folder.ts +++ b/packages/cli/test/setup-test-folder.ts @@ -10,6 +10,7 @@ mkdirSync(baseDir, { recursive: true }); const testDir = mkdtempSync(baseDir); mkdirSync(join(testDir, '.n8n')); process.env.N8N_USER_FOLDER = testDir; +process.env.N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS = 'false'; writeFileSync( join(testDir, '.n8n/config'),