Skip to content

Commit

Permalink
Merge pull request #6860 from soyuka/test/laravel-symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka authored Dec 11, 2024
2 parents c899a3d + f2b2d72 commit 6ad40a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\ServiceProvider;
use Orchestra\Testbench\Foundation\Events\ServeCommandStarted;
use Orchestra\Testbench\Workbench\Actions\AddAssetSymlinkFolders;
use Orchestra\Testbench\Workbench\Workbench;
use Orchestra\Workbench\Listeners\AddAssetSymlinkFolders;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;

Expand All @@ -40,7 +40,7 @@ public function register(): void
*/
public function boot(): void
{
$assets = new AddAssetSymlinkFolders(Workbench::configuration(), $this->app->make(Filesystem::class));
$assets = new AddAssetSymlinkFolders($this->app->make(Filesystem::class), Workbench::configuration());
$input = new ArrayInput([]);
$output = new NullOutput();
$assets->handle(new ServeCommandStarted($input, $output, new Factory(new OutputStyle($input, $output))));
Expand Down

0 comments on commit 6ad40a5

Please sign in to comment.