diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 11da2e94f..b8b04d2b3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -28,5 +28,6 @@ + diff --git a/tests/DataCollector/ViewCollectorTest.php b/tests/DataCollector/ViewCollectorTest.php index bea31f9aa..c5910be40 100644 --- a/tests/DataCollector/ViewCollectorTest.php +++ b/tests/DataCollector/ViewCollectorTest.php @@ -10,6 +10,13 @@ class ViewCollectorTest extends TestCase { use RefreshDatabase; + protected function setUp(): void + { + parent::setUp(); + + ini_set('xdebug.file_link_format', 'vscode://file/%f:%l'); + } + public function testIdeLinksAreAbsolutePaths() { if (!ini_get('xdebug.file_link_format')) {