Missing root_path service in tests

This commit is contained in:
Pierre Rudloff 2021-02-22 21:16:29 +01:00
parent 9688244285
commit 73e4fc1b13

View file

@ -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);