Use CallableProvider in tests

This commit is contained in:
Joop Schilder 2020-12-14 13:19:53 +01:00
parent a6a993db3e
commit 0c86c567d1
1 changed files with 1 additions and 1 deletions

View File

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