From 73e4fc1b1352868d6f7c75c329cfa0db1365ad4c Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 22 Feb 2021 21:16:29 +0100 Subject: [PATCH] Missing root_path service in tests --- tests/ContainerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ContainerTest.php b/tests/ContainerTest.php index 3be8ae3..70a3019 100644 --- a/tests/ContainerTest.php +++ b/tests/ContainerTest.php @@ -40,6 +40,7 @@ abstract class ContainerTest extends BaseTest $this->checkRequirements(); $this->container = new Container(['environment' => Environment::mock()]); + $this->container['root_path'] = dirname(__DIR__); $this->container['config'] = Config::fromFile($this->getConfigFile()); $this->container['session'] = SessionFactory::create($this->container); $this->container['locale'] = LocaleManagerFactory::create($this->container);