mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 02:45:39 +00:00
Continue implementing tests
This commit is contained in:
@ -2,9 +2,17 @@
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user