Fix for Diactoros in legacy feature tests
parent
3c08829205
commit
79e9714c74
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Engelsystem\Test\Feature;
|
||||||
|
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
|
abstract class ApplicationFeatureTest extends TestCase
|
||||||
|
{
|
||||||
|
public static function setUpBeforeClass()
|
||||||
|
{
|
||||||
|
$_SERVER['HTTP_HOST'] = 'foo.bar';
|
||||||
|
require_once __DIR__ . '/../../includes/engelsystem.php';
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue