File: DependencyInjection-Update-expectation.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 (28 lines) | stat: -rw-r--r-- 1,176 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?= <david@tilapin.org>
Date: Thu, 30 Oct 2025 08:34:20 +0100
Subject: [DependencyInjection] Update expectation

Forwarded: no

To be investigated
---
 .../Component/DependencyInjection/Tests/ContainerBuilderTest.php      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
index 0e59fe0..4553b93 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
@@ -1233,10 +1233,10 @@ class ContainerBuilderTest extends TestCase
 
         $resources = $container->getResources();
 
-        $this->assertCount(2, $resources);
+        $this->assertCount(3, $resources);
 
         $this->assertSame('reflection.BarClass', (string) $resources[0]);
-        $this->assertSame(BarMissingClass::class, (string) end($resources));
+        $this->assertSame(\BarMissingClass::class, (string) end($resources));
     }
 
     public function testGetReflectionClassOnInternalTypes()