Skip to content

Commit 75a22aa

Browse files
Merge branch '13.0'
* 13.0: Fix test
2 parents c2d3fb9 + 1c09672 commit 75a22aa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/end-to-end/regression/5891.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Runtime: %s
1717

1818
Time: %s, Memory: %s MB
1919

20-
OK (2 tests, 4 assertions)
20+
OK (2 tests, 6 assertions)

tests/end-to-end/regression/5891/Issue5891Test.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)