Skip to content

Commit 8abc577

Browse files
Merge branch '8.5' into 9.6
2 parents 2f86490 + af32e33 commit 8abc577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Framework/MockObject/GeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testGetMockThrowsExceptionWithExistingClassAsMockName(): void
9494
{
9595
$this->expectException(ClassAlreadyExistsException::class);
9696

97-
$this->generator->getMock(stdClass::class, [], [], RuntimeException::class);
97+
$this->generator->getMock(stdClass::class, [], [], \InvalidArgumentException::class);
9898
}
9999

100100
public function testGetMockCanCreateNonExistingFunctions(): void

0 commit comments

Comments
 (0)