2ccc1d3b83
Framework updates, and hack to get CI testing working
23 lines
401 B
PHP
23 lines
401 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
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);
|
|
}
|
|
}
|