File: DependencyInjection-Update-expectation.patch

package info (click to toggle)
symfony 8.0.0~rc1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 128,876 kB
  • sloc: php: 1,510,009; xml: 2,415; javascript: 979; sh: 586; makefile: 244; pascal: 70
file content (26 lines) | stat: -rw-r--r-- 1,161 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
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Thu, 30 Oct 2025 08:34:20 +0100
Subject: [DependencyInjection] Update expectation

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 c801e0e..5861501 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
@@ -1214,10 +1214,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()