File: 0007-Tag-test-relying-on-git-repository.patch

package info (click to toggle)
composer 2.8.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,752 kB
  • sloc: php: 77,487; makefile: 59; xml: 39
file content (28 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sun, 6 Aug 2017 15:07:15 -0400
Subject: Tag test relying on git repository

---
 tests/Composer/Test/AllFunctionalTest.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/Composer/Test/AllFunctionalTest.php b/tests/Composer/Test/AllFunctionalTest.php
index f0de9d7..a721a6e 100644
--- a/tests/Composer/Test/AllFunctionalTest.php
+++ b/tests/Composer/Test/AllFunctionalTest.php
@@ -15,6 +15,7 @@ namespace Composer\Test;
 use Composer\Pcre\Preg;
 use Composer\Util\Filesystem;
 use Composer\Util\Platform;
+use PHPUnit\Framework\Attributes\Group;
 use Symfony\Component\Finder\Finder;
 use Symfony\Component\Process\Process;
 
@@ -64,6 +65,7 @@ class AllFunctionalTest extends TestCase
         $fs->removeDirectory(dirname(self::$pharPath));
     }
 
+    #[Group('git')]
     public function testBuildPhar(): void
     {
         if (defined('HHVM_VERSION')) {