Skip to content

Commit e4eca13

Browse files
Merge branch '11.5' into 12.5
* 11.5: Add missing TestDox attribute
2 parents ec5b137 + eaf67a5 commit e4eca13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/Framework/MockObject/MockObjectTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ public function testWithCanBeUsedWithoutExpectsAndIsNotVerifiedWhenTheMethodIsNo
540540
$double->method('doSomethingElse')->with(1)->willReturn(2);
541541
}
542542

543+
#[TestDox('with() can be used without expects() and is verified when the method is called')]
543544
public function testWithCanBeUsedWithoutExpectsAndIsVerifiedWhenTheMethodIsCalled(): void
544545
{
545546
$double = $this->createTestDouble(InterfaceWithReturnTypeDeclaration::class);

0 commit comments

Comments
 (0)