@@ -127,7 +127,7 @@ public function testDbalLoadFromXmlSingleConnections(): void
127127 $ this ->assertEquals ('mysql_user ' , $ config ['user ' ]);
128128 $ this ->assertEquals ('mysql_db ' , $ config ['dbname ' ]);
129129 $ this ->assertEquals ('/path/to/mysqld.sock ' , $ config ['unix_socket ' ]);
130- $ this ->assertEquals ('5.6.20 ' , $ config ['serverVersion ' ]);
130+ $ this ->assertEquals ('9.4.0 ' , $ config ['serverVersion ' ]);
131131 }
132132
133133 /** @group legacy */
@@ -136,7 +136,7 @@ public function testDbalLoadUrlOverride(): void
136136 $ container = $ this ->loadContainer ('dbal_allow_url_override ' );
137137 $ config = $ container ->getDefinition ('doctrine.dbal.default_connection ' )->getArgument (0 );
138138
139- $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-10.5.8 ' , $ config ['url ' ]);
139+ $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-12.1.1 ' , $ config ['url ' ]);
140140
141141 $ expectedOverrides = [
142142 'dbname ' => 'main_test ' ,
@@ -165,7 +165,7 @@ public function testDbalLoadPartialUrlOverrideSetsDefaults(): void
165165 ];
166166
167167 $ this ->assertEquals ($ expectedDefaults , array_intersect_key ($ config , $ expectedDefaults ));
168- $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-10.5.8 ' , $ config ['url ' ]);
168+ $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-12.1.1 ' , $ config ['url ' ]);
169169 $ this ->assertCount (1 , $ config ['connection_override_options ' ]);
170170 $ this ->assertSame ('main_test ' , $ config ['connection_override_options ' ]['dbname ' ]);
171171 $ this ->assertFalse (isset ($ config ['override_url ' ]));
@@ -176,7 +176,7 @@ public function testDbalDbnameSuffix(): void
176176 $ container = $ this ->loadContainer ('dbal_dbname_suffix ' );
177177 $ config = $ container ->getDefinition ('doctrine.dbal.default_connection ' )->getArgument (0 );
178178
179- $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-10.5.8 ' , $ config ['url ' ]);
179+ $ this ->assertSame ('mysql://root:password@database:3306/main?serverVersion=mariadb-12.1.1 ' , $ config ['url ' ]);
180180 $ this ->assertSame ('_test ' , $ config ['dbname_suffix ' ]);
181181 }
182182
@@ -1293,6 +1293,7 @@ public function testDisableSchemaValidation(): void
12931293 $ this ->assertFalse ($ collectorDefinition ->getArguments ()[1 ]);
12941294 }
12951295
1296+ /** @group legacy */
12961297 public function testNativeLazyObjectsWithoutConfig (): void
12971298 {
12981299 if (! interface_exists (EntityManagerInterface::class)) {
@@ -1317,6 +1318,7 @@ public function testNativeLazyObjectsWithConfigTrue(): void
13171318 $ this ->assertTrue ($ entityManager ->getConfiguration ()->isNativeLazyObjectsEnabled ());
13181319 }
13191320
1321+ /** @group legacy */
13201322 public function testNativeLazyObjectsWithConfigFalse (): void
13211323 {
13221324 if (! interface_exists (EntityManagerInterface::class)) {
0 commit comments