From 2b7916378fb26279d11128f766f975066a756504 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 31 Mar 2024 20:57:51 +0200 Subject: [PATCH] Fixup --- tests/OrmTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/OrmTest.php b/tests/OrmTest.php index 6d3814b..cbfd63b 100644 --- a/tests/OrmTest.php +++ b/tests/OrmTest.php @@ -247,9 +247,7 @@ final class OrmTest extends TestCase $orm = $field->build(); $orm[$key] = $value; unset($orm); - $f = new DeferredFuture; - EventLoop::queue($f->complete(...)); - $f->getFuture()->await(); + delay(0.1); $orm = $field->build(); $this->assertCount(1, $orm);