Fixes for test

This commit is contained in:
David Bomba 2023-01-18 18:15:20 +11:00
parent 4d43506a59
commit 580ed56ad9
2 changed files with 2 additions and 1 deletions

View File

@ -7,4 +7,5 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase abstract class TestCase extends BaseTestCase
{ {
use CreatesApplication; use CreatesApplication;
} }

View File

@ -13,7 +13,7 @@ require_once 'vendor/autoload.php';
* - Tests\Support\UuidTest::it_can_not_create_a_uuid_from_null * - Tests\Support\UuidTest::it_can_not_create_a_uuid_from_null
* - ... * - ...
*/ */
$process = new \Symfony\Component\Process\Process([__DIR__ . '/vendor/bin/phpunit', '--list-tests']); $process = new \Symfony\Component\Process\Process(['./vendor/bin/phpunit', '--list-tests']);
$process->mustRun(); $process->mustRun();
$tests = \Illuminate\Support\Str::of($process->getOutput()) $tests = \Illuminate\Support\Str::of($process->getOutput())