Skip to content

Commit

Permalink
Merge branch '7.x' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Sep 25, 2023
2 parents 12635e6 + 8fc2cc6 commit b758910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DuskServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Support\Collection;
use Orchestra\Testbench\Dusk\Exceptions\UnableToStartServer;
use Orchestra\Testbench\Foundation\Env;
use Symfony\Component\Process\PhpExecutableFinder;
use Symfony\Component\Process\Process;

Expand Down Expand Up @@ -152,6 +153,9 @@ protected function startServer(): void

/** @var array<string, mixed> $environmentVariables */
$environmentVariables = Collection::make($_ENV)
->transform(function ($value, $key) {
return Env::forward($key);
})
->put('TESTBENCH_WORKING_PATH', package_path())
->all();

Expand Down

0 comments on commit b758910

Please sign in to comment.