Download tests/TestCase.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 485 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/tests/TestCase.php
- Command line
-
hf download hf://pnacorp/magicai/tests/TestCase.php
-
curl -L -o TestCase.php https://huggingface.co/pnacorp/magicai/resolve/main/tests/TestCase.php
485 Bytes
| declare(strict_types=1); | |
| namespace Tests; | |
| use Database\Seeders\DatabaseSeeder; | |
| use Illuminate\Foundation\Testing\TestCase as BaseTestCase; | |
| use Spatie\Once\Cache as OnceCache; | |
| abstract class TestCase extends BaseTestCase | |
| { | |
| use CreatesApplication; | |
| // protected bool $seed = true; | |
| // | |
| // protected string $seeder = DatabaseSeeder::class; | |
| protected function setUp(): void | |
| { | |
| parent::setUp(); | |
| OnceCache::getInstance()->disable(); | |
| } | |
| } | |