fixup! Make sure locale is always set, even on first request

This commit is contained in:
Pierre Rudloff 2020-11-21 14:38:37 +01:00
parent f184bda59b
commit f2bef49ad6

View file

@ -6,6 +6,7 @@
namespace Alltube\Test;
use Alltube\Locale;
use Alltube\Controller\BaseController;
use Alltube\Controller\DownloadController;
use Alltube\Controller\FrontController;
@ -34,6 +35,8 @@ abstract class ControllerTest extends ContainerTest
{
parent::setUp();
$this->container->get('locale')->setLocale(new Locale('en_US'));
$frontController = new FrontController($this->container);
$downloadController = new DownloadController($this->container);