fixup! Make sure locale is always set, even on first request
This commit is contained in:
parent
f184bda59b
commit
f2bef49ad6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue