Use CallableProvider in tests

This commit is contained in:
Joop Schilder 2020-12-14 13:19:53 +01:00
parent a6a993db3e
commit 0c86c567d1

View File

@ -73,7 +73,7 @@ class ContextTest extends TestCase
->method('futureTick') ->method('futureTick')
->with(self::emptyCallable()); ->with(self::emptyCallable());
$context->submit(static fn() => null); $context->submit(self::emptyCallable());
} }
public function testItRegistersMaintenanceTasksOnTheEventLoop(): void public function testItRegistersMaintenanceTasksOnTheEventLoop(): void