Fix tests (#250)

This commit is contained in:
Pierre Rudloff 2019-11-28 00:04:05 +01:00
parent aabcee25f0
commit 7772de5394
5 changed files with 23 additions and 5 deletions

View file

@ -56,8 +56,8 @@ abstract class ControllerTest extends BaseTest
$this->container = new Container();
$this->request = Request::createFromEnvironment(Environment::mock());
$this->response = new Response();
$this->container['locale'] = LocaleManager::getInstance();
$this->container['view'] = ViewFactory::create($this->container, $this->request);
$this->container['locale'] = new LocaleManager();
$frontController = new FrontController($this->container);
$downloadController = new DownloadController($this->container);