diff --git a/Tests/Web/Admin/ConfigControllerTest.php b/Tests/Web/Admin/ConfigControllerTest.php index 3ad4c04..d52673b 100644 --- a/Tests/Web/Admin/ConfigControllerTest.php +++ b/Tests/Web/Admin/ConfigControllerTest.php @@ -43,7 +43,8 @@ public function versionProvider() */ public function testバックアップファイルをアップロードできるかテスト($v, $c, $p, $o) { - $project_dir = self::$container->getParameter('kernel.project_dir'); + $container = self::getContainer(); + $project_dir = $container->getParameter('kernel.project_dir'); $file = $project_dir.'/app/Plugin/DataMigration42/Tests/Fixtures/'.$v.'.tar.gz'; $testFile = $project_dir.'/app/Plugin/DataMigration42/Tests/Fixtures/test.tar.gz';