diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php index 55c0357..b1f7b69 100644 --- a/tests/IntegrationTest.php +++ b/tests/IntegrationTest.php @@ -38,6 +38,8 @@ public function testPingCtorWithExplicitUnixUrlSendsRequestToGivenUnixSocket() unlink($path); $this->assertEquals('/_ping', $value); + + $socket->close(); } public function testPingCtorWithExplicitHttpUrlSendsRequestToGivenHttpUrlWithBase() @@ -58,5 +60,7 @@ public function testPingCtorWithExplicitHttpUrlSendsRequestToGivenHttpUrlWithBas $value = \Clue\React\Block\await($deferred->promise(), $loop, 1.0); $this->assertEquals('/base/_ping', $value); + + $socket->close(); } }