Package: symfony / 5.0.4-1

group-network-for-test-failing-without-network.patch Patch series | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Fri, 22 Sep 2017 09:03:34 -1000
Subject: '@group network' for test failing without network

---
 src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php       | 2 ++
 src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php    | 6 ++++++
 .../Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php         | 3 +++
 3 files changed, 11 insertions(+)

diff --git a/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
index f83edf9..f8db560 100644
--- a/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
@@ -37,6 +37,7 @@ class CurlHttpClientTest extends HttpClientTestCase
 
     /**
      * @requires PHP 7.2.17
+     * @group network
      */
     public function testHttp2PushVulcain()
     {
@@ -74,6 +75,7 @@ class CurlHttpClientTest extends HttpClientTestCase
 
     /**
      * @requires PHP 7.2.17
+     * @group network
      */
     public function testHttp2PushVulcainWithUnusedResponse()
     {
diff --git a/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php b/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
index edc68ed..2781198 100644
--- a/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
+++ b/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
@@ -87,6 +87,9 @@ class AdapterTest extends LdapTestCase
         $query->execute();
     }
 
+    /**
+     * @group network
+     */
     public function testLdapQueryScopeBase()
     {
         $ldap = new Adapter($this->getLdapConfig());
@@ -103,6 +106,9 @@ class AdapterTest extends LdapTestCase
         $this->assertEquals(['Fabien Potencier'], $entry->getAttribute('cn'));
     }
 
+    /**
+     * @group network
+     */
     public function testLdapQueryScopeOneLevel()
     {
         $ldap = new Adapter($this->getLdapConfig());
diff --git a/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php b/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php
index d7912f9..3b125ca 100644
--- a/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php
+++ b/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php
@@ -26,6 +26,9 @@ class SocketStreamTest extends TestCase
         $s->initialize();
     }
 
+    /**
+     * @group network
+     */
     public function testSocketErrorBeforeConnectError()
     {
         $this->expectException('Symfony\Component\Mailer\Exception\TransportException');