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
1 changed files with 1 additions and 0 deletions

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