Package: symfony / 5.4.23+dfsg-1+deb12u4

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
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/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php    | 6 ++++++
 .../Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php         | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php b/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
index 8cc3041..a685d2d 100644
--- a/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
+++ b/src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php
@@ -83,6 +83,9 @@ class AdapterTest extends LdapTestCase
         $query->execute();
     }
 
+    /**
+     * @group network
+     */
     public function testLdapQueryScopeBase()
     {
         $ldap = new Adapter($this->getLdapConfig());
@@ -99,6 +102,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 f06160d..7fba79f 100644
--- a/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php
+++ b/src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php
@@ -27,6 +27,9 @@ class SocketStreamTest extends TestCase
         $s->initialize();
     }
 
+    /**
+     * @group network
+     */
     public function testSocketErrorBeforeConnectError()
     {
         $this->expectException(TransportException::class);