Skip to content

Commit

Permalink
Allow amphp/http-server ^2
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Aug 21, 2019
1 parent ddf4906 commit c6a1731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"require": {
"amphp/http-server": "^1 || ^0.8",
"amphp/http-server": "^2 || ^1 || ^0.8",
"amphp/http": "^1",
"nikic/fast-route": "^1",
"cash/lrucache": "^1"
Expand Down
2 changes: 1 addition & 1 deletion test/RouterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class RouterTest extends TestCase {
public function mockServer(): Server {
$options = new Options;

$socket = $this->createMock(Socket\Server::class);
$socket = Socket\listen('127.0.0.1:0');

$server = new Server(
[$socket],
Expand Down

0 comments on commit c6a1731

Please sign in to comment.