We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5dfa8e commit 670358fCopy full SHA for 670358f
src/AsyncTestCase.php
@@ -9,7 +9,6 @@
9
use Revolt\EventLoop;
10
use Revolt\EventLoop\Driver\TracingDriver;
11
use function Amp\async;
12
-use function Amp\Future\all;
13
use function Amp\now;
14
15
abstract class AsyncTestCase extends PHPUnitTestCase
@@ -67,7 +66,7 @@ final protected function runAsyncTest(mixed ...$args): mixed
67
66
$start = now();
68
69
try {
70
- [, $returnValue] = all([
+ [, $returnValue] = Future\await([
71
$this->deferredFuture->getFuture(),
72
async(function () use ($args): mixed {
73
0 commit comments