From c291e58d0a13953e0f68d99182ee77ebc693edc0 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 11 May 2016 15:54:43 +0200 Subject: [PATCH] Change runningUnitTests() call Fixes #498 --- src/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 0147107d..e75967dd 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -101,7 +101,7 @@ public function boot() ]); }); - if ($app->runningInConsole() || $app->runningUnitTests()) { + if ($app->runningInConsole() || $app->environment('testing')) { return; }