3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 03:05:41 +00:00
Files
snipe-it/tests/TestCase.php
2023-02-02 17:41:32 -08:00

19 lines
339 B
PHP

<?php
namespace Tests;
use App\Models\Setting;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
protected function setUp(): void
{
parent::setUp();
$this->beforeApplicationDestroyed(fn() => Setting::$_cache = null);
}
}