Skip to content

Commit 2430f8a

Browse files
Delete test that is no longer needed after 7eec512
1 parent 7eec512 commit 2430f8a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/unit/Framework/MockObject/MockMethodTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,4 @@ public function testGetNameReturnsMethodName(): void
3838
);
3939
$this->assertEquals('methodName', $method->getName());
4040
}
41-
42-
/**
43-
* @requires PHP < 7.4
44-
*/
45-
public function testFailWhenReturnTypeIsParentButThereIsNoParentClass(): void
46-
{
47-
$class = new ReflectionClass(ClassWithoutParentButParentReturnType::class);
48-
49-
$this->expectException(RuntimeException::class);
50-
MockMethod::fromReflection($class->getMethod('foo'), false, false);
51-
}
5241
}

0 commit comments

Comments
 (0)