Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Close open connections in tests
  • Loading branch information
dinooo13 committed Oct 12, 2022
commit 6f06b3ee28325c89a9e9db06d979a478119ba6ef
4 changes: 4 additions & 0 deletions tests/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public function testPingCtorWithExplicitUnixUrlSendsRequestToGivenUnixSocket()
unlink($path);

$this->assertEquals('/_ping', $value);

$socket->close();
}

public function testPingCtorWithExplicitHttpUrlSendsRequestToGivenHttpUrlWithBase()
Expand All @@ -58,5 +60,7 @@ public function testPingCtorWithExplicitHttpUrlSendsRequestToGivenHttpUrlWithBas
$value = \Clue\React\Block\await($deferred->promise(), $loop, 1.0);

$this->assertEquals('/base/_ping', $value);

$socket->close();
}
}