Skip to content

Commit 18b62de

Browse files
committed
Removed obsolete test case
1 parent 8bdf985 commit 18b62de

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/Integration/Rest/ControllerTest.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,6 @@
2828
*/
2929
final class ControllerTest extends KernelTestCase
3030
{
31-
/**
32-
* @throws Throwable
33-
*/
34-
#[TestDox('Test that `getResource` method throws an exception if `Resource` service is not set')]
35-
public function testThatGetResourceThrowsAnExceptionIfNotSet(): void
36-
{
37-
$this->expectException(UnexpectedValueException::class);
38-
$this->expectExceptionMessage('Resource service not set');
39-
40-
$class = new class() extends Controller {
41-
public function __construct()
42-
{
43-
}
44-
};
45-
46-
$class->getResource();
47-
}
48-
4931
/**
5032
* @throws Throwable
5133
*/

0 commit comments

Comments
 (0)