Skip to content

Commit c46a638

Browse files
committed
fix: Laravel Tests Failures
1 parent 6b743ff commit c46a638

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

tests/Integrations/Laravel/V8_x/CommonScenariosTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,6 @@ public function provideSpecs()
166166
TAG::COMPONENT => 'laravel'
167167
])->setError('Exception', 'Controller error', true)->withChildren([
168168
SpanAssertion::exists('laravel.action'),
169-
SpanAssertion::exists('laravel.view.render')
170-
->withChildren([
171-
SpanAssertion::exists('laravel.view')->withChildren([
172-
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
173-
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
174-
]),
175-
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
176-
]),
177169
SpanAssertion::exists(
178170
'laravel.provider.load',
179171
'Illuminate\Foundation\ProviderRepository::load',
@@ -195,7 +187,6 @@ public function provideSpecs()
195187
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
196188
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
197189
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
198-
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel_test_app'),
199190
]),
200191
],
201192
'A GET request to a missing route' => [

tests/snapshots/tests.integrations.laravel.v8_x.queue_test.test_broadcast.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,18 @@
300300
"component": "laravelqueue"
301301
}
302302
},
303+
{
304+
"name": "laravel.event.handle",
305+
"service": "laravel_queue_test",
306+
"resource": "Illuminate\\Log\\Events\\MessageLogged",
307+
"trace_id": 0,
308+
"span_id": 25,
309+
"parent_id": 24,
310+
"type": "web",
311+
"meta": {
312+
"component": "laravel"
313+
}
314+
},
303315
{
304316
"name": "laravel.event.handle",
305317
"service": "laravel_queue_test",

0 commit comments

Comments
 (0)