phpldapadmin/tests/TestCase.php

23 lines
401 B
PHP
Raw Permalink Normal View History

2019-05-14 07:52:49 +00:00
<?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);
}
2019-05-14 07:52:49 +00:00
}