Fix test running calling resolve without parameter
This commit is contained in:
parent
2aedfd27a7
commit
43043372a9
@ -245,7 +245,7 @@ getTestCases()->then(function ($count) use ($loop) {
|
|||||||
$runNextCase = static function () use (&$i, &$runNextCase, $count, $allDeferred): void {
|
$runNextCase = static function () use (&$i, &$runNextCase, $count, $allDeferred): void {
|
||||||
$i++;
|
$i++;
|
||||||
if ($i > $count) {
|
if ($i > $count) {
|
||||||
$allDeferred->resolve();
|
$allDeferred->resolve(null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
echo "Running test $i/$count...";
|
echo "Running test $i/$count...";
|
||||||
|
Loading…
Reference in New Issue
Block a user