File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
tests/end-to-end/regression Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ Runtime: %s
1717
1818Time: %s, Memory: %s MB
1919
20- OK (2 tests, 4 assertions)
20+ OK (2 tests, 6 assertions)
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ final class Issue5891Test extends TestCase
1616 public function testVariadicParam (): void
1717 {
1818 $ mock = $ this ->createMock (ArgumentList::class);
19+
1920 $ mock
21+ ->expects ($ this ->once ())
2022 ->method ('foo ' )
2123 ->with ($ this ->callback (static function (...$ items ): bool
2224 {
@@ -31,7 +33,9 @@ public function testVariadicParam(): void
3133 public function testTwoParametersAndVariadicParam (): void
3234 {
3335 $ mock = $ this ->createMock (TwoParametersAndArgumentList::class);
36+
3437 $ mock
38+ ->expects ($ this ->once ())
3539 ->method ('foo ' )
3640 ->with ($ this ->callback (static function (...$ items ): bool
3741 {
You can’t perform that action at this time.
0 commit comments