Skip to content

Commit 148c104

Browse files
Fix tests
1 parent 1c09672 commit 148c104

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/unit/Framework/MockObject/TestDoubleTestCase.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,10 @@ public function testGetHookForPropertyOfExtendableClassCanBeConfigured(): void
312312
$this->assertSame('value', $double->property);
313313
}
314314

315-
#[TestDox('Sealed stub throws exception when method() is called')]
316-
public function testSealedStubThrowsExceptionWhenMethodIsCalled(): void
315+
#[TestDox('Sealed test double throws exception when method() is called')]
316+
public function testSealedTestDoubleThrowsExceptionWhenMethodIsCalled(): void
317317
{
318-
$stub = $this->createStub(InterfaceWithReturnTypeDeclaration::class);
318+
$stub = $this->createTestDouble(InterfaceWithReturnTypeDeclaration::class);
319319

320320
$stub
321321
->method('doSomething')
@@ -327,10 +327,10 @@ public function testSealedStubThrowsExceptionWhenMethodIsCalled(): void
327327
$stub->method('doSomethingElse');
328328
}
329329

330-
#[TestDox('Cloned sealed stub remains sealed')]
331-
public function testClonedSealedStubRemainsSealed(): void
330+
#[TestDox('Cloned sealed test double remains sealed')]
331+
public function testClonedSealedTestDoubleRemainsSealed(): void
332332
{
333-
$stub = $this->createStub(InterfaceWithReturnTypeDeclaration::class);
333+
$stub = $this->createTestDouble(InterfaceWithReturnTypeDeclaration::class);
334334

335335
$stub
336336
->method('doSomething')

0 commit comments

Comments
 (0)