1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: William Desportes <williamdes@wdes.fr>
Date: Sun, 13 Apr 2025 15:30:19 +0200
Subject: Adjust relative test dir
Origin: vendor
Forwarded: not-needed
---
tests/Phing/Test/Type/DirSetTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Phing/Test/Type/DirSetTest.php b/tests/Phing/Test/Type/DirSetTest.php
index 476e205..f0bda65 100644
--- a/tests/Phing/Test/Type/DirSetTest.php
+++ b/tests/Phing/Test/Type/DirSetTest.php
@@ -59,7 +59,7 @@ class DirSetTest extends TestCase
$this->assertNotNull($expectedDirs, "There were no directories found.");
$this->assertNotEmpty($expectedDirs, "There were no directories found.");
foreach ($expectedDirs as $expectedDir) {
- $absPath = realpath($expectedDir);
+ $absPath = realpath(PHING_TEST_BASE . '/' . $expectedDir);
$this->assertNotFalse($absPath, "Unable to determine realpath for $expectedDir");
$this->assertTrue(is_dir($absPath), "$absPath was not a directory.");
}
|