mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -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);
|
|
}
|
|
}
|