1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Wed, 24 May 2023 00:46:46 +0200
Subject: [Finder] Add system path to open_basedir for tests
Forwarded: not needed
---
src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php b/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
index 0fcdbc0..4cbb90f 100644
--- a/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
+++ b/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
@@ -35,7 +35,7 @@ class FinderOpenBasedirTest extends Iterator\RealIteratorTestCase
->ignoreVCSIgnored(true)
);
- $this->iniSet('open_basedir', \dirname(__DIR__, 5).\PATH_SEPARATOR.self::toAbsolute('gitignore/search_root'));
+ $this->iniSet('open_basedir', \dirname(__DIR__, 5).\PATH_SEPARATOR.self::toAbsolute('gitignore/search_root').\PATH_SEPARATOR.'/usr/share/php');
$this->assertIterator(self::toAbsolute([
'gitignore/search_root/b.txt',
|