File: 0010-Skip-incompatible-test-with-Debian-installed-version.patch

package info (click to toggle)
composer 2.8.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,768 kB
  • sloc: php: 77,502; makefile: 59; xml: 39
file content (23 lines) | stat: -rw-r--r-- 912 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
22
23
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Tue, 12 Mar 2024 08:37:49 +0100
Subject: Skip incompatible test with Debian installed version

---
 tests/Composer/Test/ApplicationTest.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/Composer/Test/ApplicationTest.php b/tests/Composer/Test/ApplicationTest.php
index d015c2f..9945ecd 100644
--- a/tests/Composer/Test/ApplicationTest.php
+++ b/tests/Composer/Test/ApplicationTest.php
@@ -58,9 +58,7 @@ class ApplicationTest extends TestCase
      */
     public function testDevWarningSuppressedForSelfUpdate(): void
     {
-        if (Platform::isWindows()) {
-            $this->markTestSkipped('Does not run on windows');
-        }
+        $this->markTestSkipped('Does not comply with Debian installed version');
 
         $application = new Application;
         // Compatibility layer for symfony/console <7.4