File: VarDumper-Fix-expected-order-in-test.patch

package info (click to toggle)
symfony 7.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 129,560 kB
  • sloc: php: 1,503,693; xml: 6,816; javascript: 1,043; sh: 586; makefile: 241; pascal: 70
file content (26 lines) | stat: -rw-r--r-- 1,138 bytes parent folder | 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
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Mon, 23 Oct 2023 12:58:30 +0200
Subject: [VarDumper] Fix expected order in test

To be investigated.
---
 src/Symfony/Component/VarDumper/Tests/Caster/DoctrineCasterTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/DoctrineCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/DoctrineCasterTest.php
index 06b65ff..4aac072 100644
--- a/src/Symfony/Component/VarDumper/Tests/Caster/DoctrineCasterTest.php
+++ b/src/Symfony/Component/VarDumper/Tests/Caster/DoctrineCasterTest.php
@@ -38,10 +38,10 @@ class DoctrineCasterTest extends TestCase
             $expected = <<<EODUMP
                 Doctrine\ORM\PersistentCollection {
                 %A
-                  -backRefFieldName: null
-                  -isDirty: false
                   -em: $entityManagerClass { …3}
+                  -backRefFieldName: null
                   -typeClass: Doctrine\ORM\Mapping\ClassMetadata { …}
+                  -isDirty: false
                 %A
                 EODUMP;
         } else {