Missing root_path service in tests
This commit is contained in:
parent
9688244285
commit
73e4fc1b13
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue