Skip to content

Commit 04eded2

Browse files
committed
Add fix to other Laravel versions
1 parent 5f58151 commit 04eded2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/Integrations/Laravel/V4/CommonScenariosTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ public function provideSpecs()
193193
Tag::COMPONENT => 'laravel',
194194
])
195195
->withChildren([
196+
SpanAssertion::exists('PDO.__construct', null, null, 'laravel'),
197+
SpanAssertion::exists('PDO.query', null, null, 'laravel'),
196198
SpanAssertion::exists('laravel.application.handle')
197199
->withChildren([
198200
SpanAssertion::build('laravel.action', 'laravel', 'web', 'dynamic_route/{param01}/static/{param02?}')

tests/Integrations/Laravel/V5_7/CommonScenariosTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ public function provideSpecs()
200200
TAG::SPAN_KIND => 'server',
201201
TAG::COMPONENT => 'laravel'
202202
])->withChildren([
203+
SpanAssertion::exists('PDO.__construct', null, null, 'laravel_test_app'),
204+
SpanAssertion::exists('PDO.query', null, null, 'laravel_test_app'),
203205
SpanAssertion::build(
204206
'laravel.action',
205207
'laravel_test_app',

tests/Integrations/Laravel/V5_8/CommonScenariosTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ public function provideSpecs()
217217
TAG::SPAN_KIND => 'server',
218218
TAG::COMPONENT => 'laravel'
219219
])->withChildren([
220+
SpanAssertion::exists('PDO.__construct', null, null, 'laravel_test_app'),
221+
SpanAssertion::exists('PDO.query', null, null, 'laravel_test_app'),
220222
SpanAssertion::build(
221223
'laravel.action',
222224
'laravel_test_app',

0 commit comments

Comments
 (0)