Download tests/TestCase.php from lifedebugger/CAPS04-FE-REFACTOR-2: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/lifedebugger/CAPS04-FE-REFACTOR-2/resolve/main/tests/TestCase.php
- Command line
-
hf download hf://spaces/lifedebugger/CAPS04-FE-REFACTOR-2/tests/TestCase.php
-
curl -L -o TestCase.php https://huggingface.co/spaces/lifedebugger/CAPS04-FE-REFACTOR-2/resolve/main/tests/TestCase.php
420 Bytes
| namespace Tests; | |
| use Illuminate\Foundation\Testing\TestCase as BaseTestCase; | |
| use Laravel\Fortify\Features; | |
| abstract class TestCase extends BaseTestCase | |
| { | |
| protected function skipUnlessFortifyHas(string $feature, ?string $message = null): void | |
| { | |
| if (! Features::enabled($feature)) { | |
| $this->markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled."); | |
| } | |
| } | |
| } | |