Skip to content

Commit c291e58

Browse files
committed
Change runningUnitTests() call
Fixes barryvdh#498
1 parent a03ffea commit c291e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function boot()
101101
]);
102102
});
103103

104-
if ($app->runningInConsole() || $app->runningUnitTests()) {
104+
if ($app->runningInConsole() || $app->environment('testing')) {
105105
return;
106106
}
107107

0 commit comments

Comments
 (0)