Skip to content

Commit 072a444

Browse files
committed
fix[input-mapping]: Dotenv in tests was not configured to load .env (only .env.local)
1 parent a10dc94 commit 072a444

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
require __DIR__ . '/../vendor/autoload.php';
99

10-
if (file_exists(dirname(__DIR__).'/.env.local')) {
11-
(new Dotenv())->usePutenv()->bootEnv(dirname(__DIR__).'/.env.local', 'dev', []);
12-
}
10+
(new Dotenv())->usePutenv()->bootEnv(dirname(__DIR__).'/.env', 'dev', []);
1311

1412
$requiredEnvs = ['STORAGE_API_URL', 'STORAGE_API_TOKEN', 'STORAGE_API_TOKEN_MASTER'];
1513
foreach ($requiredEnvs as $env) {

0 commit comments

Comments
 (0)