Framework update and updates from other projects,remove leenooks/laravel
Framework updates, and hack to get CI testing working
This commit is contained in:
@@ -7,4 +7,16 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
use CreatesApplication;
|
||||
|
||||
/**
|
||||
* Hack to get testing working
|
||||
*/
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$config = app('config');
|
||||
$events = app('events');
|
||||
parent::tearDown();
|
||||
app()->instance('config', $config);
|
||||
app()->instance('events', $events);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user