phpldapadmin/tests/TestCase.php
Deon George 2ccc1d3b83 Framework update and updates from other projects,remove leenooks/laravel
Framework updates, and hack to get CI testing working
2021-12-11 00:24:00 +11:00

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);
}
}