Skip to content

Commit

Permalink
Missing root_path service in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff committed Feb 22, 2021
1 parent 9688244 commit 73e4fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ protected function setUp(): void
$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);
Expand Down

0 comments on commit 73e4fc1

Please sign in to comment.