Skip to content

Commit af32e33

Browse files
mbeccatisebastianbergmann
authored andcommitted
Fix test that was passing only when run sequentially
1 parent 20604d7 commit af32e33

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
@@ -98,7 +98,7 @@ public function testGetMockThrowsExceptionWithExistingClassAsMockName(): void
9898
{
9999
$this->expectException(RuntimeException::class);
100100

101-
$this->generator->getMock(stdClass::class, [], [], RuntimeException::class);
101+
$this->generator->getMock(stdClass::class, [], [], \InvalidArgumentException::class);
102102
}
103103

104104
public function testGetMockCanCreateNonExistingFunctions(): void

0 commit comments

Comments
 (0)