Skip to content

Commit 4b030e9

Browse files
committed
Fix common laravel tests
1 parent 04eded2 commit 4b030e9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/Integrations/Laravel/V4/CommonScenariosTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ 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'),
198196
SpanAssertion::exists('laravel.application.handle')
199197
->withChildren([
200198
SpanAssertion::build('laravel.action', 'laravel', 'web', 'dynamic_route/{param01}/static/{param02?}')
@@ -205,6 +203,8 @@ public function provideSpecs()
205203
]),
206204
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel'),
207205
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel'),
206+
SpanAssertion::exists('PDO.query', null, null, 'laravel'),
207+
SpanAssertion::exists('PDO.__construct', null, null, 'laravel'),
208208
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel'),
209209
SpanAssertion::exists('laravel.event.handle', null, null, 'laravel'),
210210
]),

tests/Integrations/Laravel/V4/PathParamsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PathParamsTest extends WebFrameworkTestCase
1313
{
1414
protected static function getAppIndexScript()
1515
{
16-
return __DIR__ . '/../../../Frameworks/Laravel/Version_8_x/public/index.php';
16+
return __DIR__ . '/../../../Frameworks/Laravel/Version_4_2/public/index.php';
1717
}
1818

1919
protected function connection()

tests/Integrations/Laravel/V5_7/PathParamsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PathParamsTest extends WebFrameworkTestCase
1313
{
1414
protected static function getAppIndexScript()
1515
{
16-
return __DIR__ . '/../../../Frameworks/Laravel/Version_8_x/public/index.php';
16+
return __DIR__ . '/../../../Frameworks/Laravel/Version_5_7/public/index.php';
1717
}
1818

1919
protected function connection()

tests/Integrations/Laravel/V5_8/PathParamsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PathParamsTest extends WebFrameworkTestCase
1313
{
1414
protected static function getAppIndexScript()
1515
{
16-
return __DIR__ . '/../../../Frameworks/Laravel/Version_8_x/public/index.php';
16+
return __DIR__ . '/../../../Frameworks/Laravel/Version_5_8/public/index.php';
1717
}
1818

1919
protected function connection()

0 commit comments

Comments
 (0)