mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
19 lines
339 B
PHP
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);
|
|
}
|
|
}
|