diff --git a/composer.json b/composer.json index f3a9485..009c34c 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "react/socket": "^1.12" }, "require-dev": { - "clue/block-react": "^1.5", + "react/async": "^4 || ^3 || ^2", "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" }, "autoload": { diff --git a/tests/BaseTestCase.php b/tests/BaseTestCase.php index cbf72eb..1815061 100644 --- a/tests/BaseTestCase.php +++ b/tests/BaseTestCase.php @@ -37,7 +37,7 @@ protected function createConnection(LoopInterface $loop) $factory = new Factory($loop); $promise = $factory->createConnection($this->getConnectionString()); - return \Clue\React\Block\await($promise, $loop, 10.0); + return \React\Async\await($promise); } protected function getDataTable()