diff --git a/tests/plugins/TesterPlugin/src/AsyncEventConcurrencyTest.php b/tests/plugins/TesterPlugin/src/AsyncEventConcurrencyTest.php index f372e8015..865eae5f4 100644 --- a/tests/plugins/TesterPlugin/src/AsyncEventConcurrencyTest.php +++ b/tests/plugins/TesterPlugin/src/AsyncEventConcurrencyTest.php @@ -93,7 +93,7 @@ final class AsyncEventConcurrencyTest extends Test{ fn() => $this->complete($this->activeExclusiveHandler, "exclusive 1"), fn() => $main->getLogger()->error("Not expecting this to be rejected") ); - return null; + return $resolver->getPromise(); }, EventPriority::NORMAL, $main,