Skip to content

Commit cd6c940

Browse files
authored
Merge pull request #83 from LunashaGit/main
Fix undefined class Process in ExampleTest.php
2 parents eafc71c + 1aa0903 commit cd6c940

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ExampleTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Symfony\Component\Process\PhpExecutableFinder;
4+
use Illuminate\Support\Facades\Process;
45

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

14-
$process = \Illuminate\Support\Facades\Process::path(base_path())
15+
$process = Process::path(base_path())
1516
->tty()
1617
->start($php.' artisan native:serve', function ($type, $line) {
1718
echo $line;

0 commit comments

Comments
 (0)