diff --git a/tests/Eccube/Tests/Form/Type/Admin/BlockTypeTest.php b/tests/Eccube/Tests/Form/Type/Admin/BlockTypeTest.php index e3c7531b84a..e42197f84c2 100644 --- a/tests/Eccube/Tests/Form/Type/Admin/BlockTypeTest.php +++ b/tests/Eccube/Tests/Form/Type/Admin/BlockTypeTest.php @@ -31,7 +31,7 @@ protected function setUp(): void 'csrf_protection' => false, ]) ->getForm(); - self::$container->get('request_stack')->push(new Request()); + static::getContainer()->get('request_stack')->push(new Request()); } public function testValidData()