Use CallableProvider in tests
This commit is contained in:
parent
a6a993db3e
commit
0c86c567d1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user