File: HttpClient-Skip-tests-relying-on-amphp-http-client.patch

package info (click to toggle)
symfony 7.4.0~rc2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 133,256 kB
  • sloc: php: 1,543,830; xml: 7,134; javascript: 979; sh: 584; makefile: 250; pascal: 70
file content (27 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download | duplicates (3)
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
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Wed, 6 Jan 2021 18:14:15 -0400
Subject: [HttpClient] Skip tests relying on amphp/http-client

Forwarded: not-needed
---
 src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php b/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
index 95e0724..8b4f53e 100644
--- a/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
+++ b/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
@@ -35,6 +35,13 @@ The vulcain binary can be found at https://github.com/symfony/binary-utils/relea
 
 abstract class HttpClientTestCase extends BaseHttpClientTestCase
 {
+    protected function setUp(): void
+    {
+        parent::setUp();
+
+        $this->markTestSkipped('amphp/http-client is not (yet) packaged in Debian');
+    }
+
     private static bool $vulcainStarted = false;
 
     public function testTimeoutOnDestruct()