Skip to content

Commit 19ffe50

Browse files
committed
chore: fix unit tests
1 parent 6715609 commit 19ffe50

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

config/app.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
|
122122
*/
123123

124-
'providers' => [
124+
'providers' => array_merge([
125125

126126
/*
127127
* Laravel Framework Service Providers...
@@ -173,8 +173,7 @@
173173
\App\Providers\DoctrineWorkerServiceProvider::class,
174174
App\libs\Utils\Doctrine\DoctrineCacheServiceProvider::class,
175175
// Only if you want to toggle via env:
176-
env('OTEL_SERVICE_ENABLED', false) ? \Keepsuit\LaravelOpenTelemetry\LaravelOpenTelemetryServiceProvider::class : null,
177-
],
176+
], env('OTEL_SERVICE_ENABLED', false) ? [\Keepsuit\LaravelOpenTelemetry\LaravelOpenTelemetryServiceProvider::class] : []),
178177

179178
/*
180179
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)