@@ -37,7 +37,6 @@ public function testInsertTwoRootsInOneFlush(): void
37
37
$ ou2 = new OU ('00000000-0000-0000-0000-000000000002 ' , null );
38
38
$ ou21 = new OU ('00000000-0000-0000-0000-000000000021 ' , $ ou2 );
39
39
40
-
41
40
$ this ->em ->persist ($ ou1 );
42
41
$ this ->em ->persist ($ ou11 );
43
42
$ this ->em ->persist ($ ou2 );
@@ -73,7 +72,6 @@ public function testInsertTwoRootsInOneFlushRootsFirst(): void
73
72
$ ou2 = new OU ('00000000-0000-0000-0000-000000000002 ' , null );
74
73
$ ou21 = new OU ('00000000-0000-0000-0000-000000000021 ' , $ ou2 );
75
74
76
-
77
75
$ this ->em ->persist ($ ou1 );
78
76
$ this ->em ->persist ($ ou2 );
79
77
$ this ->em ->persist ($ ou11 );
@@ -109,7 +107,6 @@ public function testInsertTwoRootsInTwoFlushes(): void
109
107
$ ou2 = new OU ('00000000-0000-0000-0000-000000000002 ' , null );
110
108
$ ou21 = new OU ('00000000-0000-0000-0000-000000000021 ' , $ ou2 );
111
109
112
-
113
110
$ this ->em ->persist ($ ou1 );
114
111
$ this ->em ->persist ($ ou11 );
115
112
$ this ->em ->flush ();
@@ -150,6 +147,7 @@ protected function getUsedEntityFixtures(): array
150
147
private function fetchAllOUs (): array
151
148
{
152
149
$ categoryRepo = $ this ->em ->getRepository (OU ::class);
150
+
153
151
return $ categoryRepo
154
152
->createQueryBuilder ('ou ' )
155
153
->orderBy ('ou.left ' , 'ASC ' )
0 commit comments