1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
This commit is contained in:
Daniil Gentili 2023-08-07 18:59:40 +02:00
parent ee6e57f2e5
commit f9d9f70435
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -55,7 +55,7 @@ class TimeoutCancellationTest extends TestCase
public function testWatcherNoUnreference(): void
{
$this->expectException(CancelledException::class);
$cancellation = new TimeoutCancellation(0.001, unreference: false);
$cancellation = new TimeoutCancellation(0.001, reference: true);
$deferred = new DeferredFuture;
$deferred->getFuture()->await($cancellation);
}