Skip to content

Commit

Permalink
Merge pull request #83 from LunashaGit/main
Browse files Browse the repository at this point in the history
Fix undefined class Process in ExampleTest.php
  • Loading branch information
simonhamp committed Apr 2, 2024
2 parents eafc71c + 1aa0903 commit cd6c940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ExampleTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Symfony\Component\Process\PhpExecutableFinder;
use Illuminate\Support\Facades\Process;

it('can boot up the app', function () {
$executableFinder = new PhpExecutableFinder();
Expand All @@ -11,7 +12,7 @@
to: base_path('artisan'),
);

$process = \Illuminate\Support\Facades\Process::path(base_path())
$process = Process::path(base_path())
->tty()
->start($php.' artisan native:serve', function ($type, $line) {
echo $line;
Expand Down

0 comments on commit cd6c940

Please sign in to comment.