File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4848 - name : Build vue-starter-kit
4949 run : composer run vue:build
5050 env :
51- APP_BASE_PATH : " ${{ github.workspace }}/vendor/laravel/vue-starter-kit/ "
51+ APP_BASE_PATH : ${{ github.workspace }}/vendor/laravel/vue-starter-kit
5252
5353 - name : Execute tests
5454 run : php vendor/bin/pest
5555 env :
56- APP_BASE_PATH : " ${{ github.workspace }}/vendor/laravel/vue-starter-kit/ "
56+ APP_BASE_PATH : ${{ github.workspace }}/vendor/laravel/vue-starter-kit
Original file line number Diff line number Diff line change 33namespace Tests ;
44
55use Illuminate \Foundation \Testing \TestCase as BaseTestCase ;
6+ use PHPUnit \Framework \Attributes \RequiresEnvironmentVariable ;
67
8+ #[RequiresEnvironmentVariable('APP_BASE_PATH ' )]
79abstract class TestCase extends BaseTestCase
810{
911 //
Original file line number Diff line number Diff line change 11<?php
22
33test ('that true is true ' , function () {
4+ expect (isset ($ _SERVER ['APP_BASE_PATH ' ]))->toBeTrue ();
5+ expect (isset ($ _ENV ['APP_BASE_PATH ' ]))->toBeTrue ();
46 expect (true )->toBeTrue ();
57});
You can’t perform that action at this time.
0 commit comments