Skip to content

Commit 28ca43a

Browse files
Improve test name
1 parent ae39c2a commit 28ca43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Framework/MockObject/Creation/MockBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function testCreatesMockObjectForUnknownType(): void
167167

168168
}
169169

170-
#[TestDox('onlyMethods() mocked methods can be called within the original constructor')]
170+
#[TestDox('Mocked methods can be called from the original constructor of a partially mocked class')]
171171
public function testOnlyMethodCalledInConstructorWorks(): void
172172
{
173173
$double = $this->getMockBuilder(ClassCallingMethodInConstructor::class)

0 commit comments

Comments
 (0)