Rewrite location header

This commit is contained in:
Marcel Pociot committed 2020-10-25 23:40:45 +01:00
1 parent 538c7da446
commit 880259657f
5 files changed
+56 -6

No files matched your search

+5
View File
@@ -2,6 +2,7 @@
namespace Tests\Feature\Client;
use App\Client\Configuration;
use App\Client\Factory;
use App\Client\Http\HttpClient;
use App\Logger\LoggedRequest;
@@ -129,6 +130,10 @@ class DashboardTest extends TestCase
protected function startDashboard()
{
app()->singleton(Configuration::class, function ($app) {
return new Configuration('localhost', '8080', false);
});
$this->dashboardFactory = (new Factory())
->setLoop($this->loop)
->createHttpServer();