Fix tests

This commit is contained in:
Marcel Pociot
2021-01-08 21:35:00 +01:00
parent 06c1758916
commit e2e9edf769
3 changed files with 11 additions and 11 deletions

View File

@@ -392,7 +392,7 @@ class TunnelTest extends TestCase
protected function createTestHttpServer()
{
$server = new Server(function (ServerRequestInterface $request) {
$server = new Server($this->loop, function (ServerRequestInterface $request) {
return new Response(200, ['Content-Type' => 'text/plain'], 'Hello World!');
});