Skip to content

Commit

Permalink
Merge branch '6.x' into 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Apr 16, 2024
2 parents 878f0ca + 54af071 commit 3bc4c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Foundation/Bootstrap/EnsuresDefaultConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function bootstrap(Application $app): void
'DB_CONNECTION' => \defined('TESTBENCH_DUSK') ? ['database.default' => 'testing'] : null,
])->filter()
->reject(static function ($config, $key) {
return ! \is_null(Env::get($key));
return Env::has($key);
})->values()
->all(),
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Workbench/Workbench.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static function configuration(): ConfigContract

if (\defined('TESTBENCH_WORKING_PATH')) {
$workingPath = TESTBENCH_WORKING_PATH;
} elseif (! \is_null(Env::get('TESTBENCH_WORKING_PATH'))) {
} elseif (Env::has('TESTBENCH_WORKING_PATH')) {
$workingPath = Env::get('TESTBENCH_WORKING_PATH');
}

Expand Down

0 comments on commit 3bc4c27

Please sign in to comment.