Skip to content

Commit

Permalink
Change runningUnitTests() call
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed May 11, 2016
1 parent a03ffea commit c291e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function boot()
]);
});

if ($app->runningInConsole() || $app->runningUnitTests()) {
if ($app->runningInConsole() || $app->environment('testing')) {
return;
}

Expand Down

0 comments on commit c291e58

Please sign in to comment.