Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 14, 2023
1 parent 57ad91d commit 13c6e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/Framework/MockObject/Creation/MockBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public function testCanCreateMockObjectWithSpecifiedClassName(): void
{
$className = 'random_' . md5((string) mt_rand());

$o = $this->getMockBuilder(InterfaceWithReturnTypeDeclaration::class)
$double = $this->getMockBuilder(InterfaceWithReturnTypeDeclaration::class)
->setMockClassName($className)
->getMock();

$this->assertSame($className, $o::class);
$this->assertSame($className, $double::class);
}
}

0 comments on commit 13c6e84

Please sign in to comment.