File: 0001-Use-mimicked-system-path-for-tests.patch

package info (click to toggle)
php-codecoverage 12.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 61,152 kB
  • sloc: javascript: 35,234; php: 25,410; xml: 1,314; makefile: 46
file content (21 lines) | stat: -rw-r--r-- 923 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?= <taffit@debian.org>
Date: Sun, 6 Apr 2025 12:46:31 +0200
Subject: Use mimicked 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 e2df312..e52c2d6 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__ . '/../../../../src/Report/Html/Renderer/Template/css/custom.css'),
+            realpath(__DIR__ . '/../../../../mimic/usr/share/php/SebastianBergmann/CodeCoverage/Report/Html/Renderer/Template/css/custom.css'),
             realpath($file->path()),
         );
     }