From ca409bc42d7ee1a5bbc0e8b07d44db980b17e872 Mon Sep 17 00:00:00 2001 From: Audrey Lievremont Date: Sun, 13 Nov 2016 19:44:30 +0100 Subject: [PATCH] add Locale in tests --- .travis.yml | 3 +-- tests/EJTest.php | 1 + tests/HJTest.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8768a69..8a39873 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,7 @@ php: cache: directories: - - node_modules - - vender + - vendor - $HOME/.composer/cache services: diff --git a/tests/EJTest.php b/tests/EJTest.php index 10af94d..60f938b 100644 --- a/tests/EJTest.php +++ b/tests/EJTest.php @@ -14,6 +14,7 @@ class EJTest extends TestCase public function setUp() { parent::setUp(); + App::setLocale('fr'); $this->artisan('migrate:refresh', [ '--seed' => '1' ]); diff --git a/tests/HJTest.php b/tests/HJTest.php index b92df43..7e4910f 100644 --- a/tests/HJTest.php +++ b/tests/HJTest.php @@ -11,6 +11,7 @@ class HJTest extends TestCase public function setUp() { parent::setUp(); + App::setLocale('fr'); $this->artisan('migrate:refresh', [ '--seed' => '1' ]);