From f027638d5bae15ff32199cca557098938a1a1406 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sat, 1 Dec 2018 18:42:33 +0300 Subject: [PATCH] fixed tests --- app/Http/ViewComposers/All.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/ViewComposers/All.php b/app/Http/ViewComposers/All.php index 4dcaabe7b..86093ec29 100644 --- a/app/Http/ViewComposers/All.php +++ b/app/Http/ViewComposers/All.php @@ -18,7 +18,7 @@ class All public function compose(View $view) { // Make sure it's installed - if (!env('APP_INSTALLED')) { + if (!env('APP_INSTALLED') && (env('APP_ENV') !== 'testing')) { return; }