Skip to content

Commit d9c1bf5

Browse files
committed
Fix test
1 parent c00edcc commit d9c1bf5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/FunctionSomeTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ public function shouldCancelOtherPendingInputArrayPromisesIfEnoughPromisesFulfil
216216
->expects($this->never())
217217
->method('__invoke');
218218

219-
220219
$deferred = New Deferred($mock);
221220
$deferred->resolve();
222221

@@ -225,6 +224,6 @@ public function shouldCancelOtherPendingInputArrayPromisesIfEnoughPromisesFulfil
225224
->expects($this->once())
226225
->method('cancel');
227226

228-
some([$deferred->promise(), $mock2], 1)->cancel();
227+
some([$deferred->promise(), $mock2], 1);
229228
}
230229
}

0 commit comments

Comments
 (0)