File: Use-system-path.patch

package info (click to toggle)
php-codecoverage 12.4.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 61,168 kB
  • sloc: javascript: 35,234; php: 25,404; xml: 1,314; makefile: 46
file content (21 lines) | stat: -rw-r--r-- 933 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sun, 3 Mar 2024 09:16:18 +0100
Subject: Use system path for tests

---
 tests/tests/Report/Html/CustomCssFileTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tests/Report/Html/CustomCssFileTest.php b/tests/tests/Report/Html/CustomCssFileTest.php
index e52c2d6..7e72648 100644
--- a/tests/tests/Report/Html/CustomCssFileTest.php
+++ b/tests/tests/Report/Html/CustomCssFileTest.php
@@ -24,7 +24,7 @@ final class CustomCssFileTest extends TestCase
         $file = CustomCssFile::default();
 
         $this->assertSame(
-            realpath(__DIR__ . '/../../../../mimic/usr/share/php/SebastianBergmann/CodeCoverage/Report/Html/Renderer/Template/css/custom.css'),
+            realpath('/usr/share/php/SebastianBergmann/CodeCoverage/Report/Html/Renderer/Template/css/custom.css'),
             realpath($file->path()),
         );
     }