From 11bc122dca59855c69d365e48ce62dee9b591082 Mon Sep 17 00:00:00 2001 From: Nicolas Widart Date: Thu, 26 Oct 2017 10:36:45 +0200 Subject: [PATCH] Try to load translations for testing only --- Providers/ContactServiceProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Providers/ContactServiceProvider.php b/Providers/ContactServiceProvider.php index d0ec4e4..f997300 100644 --- a/Providers/ContactServiceProvider.php +++ b/Providers/ContactServiceProvider.php @@ -52,6 +52,7 @@ public function boot() if (app()->environment() === 'testing') { $this->app['view']->addNamespace('contact', __DIR__ . '/../Resources/views'); + $this->loadTranslationsFrom(__DIR__ .'/../Resources/lang', 'contact'); } }