diff --git a/phpunit-integration-legacy.baseline.xml b/phpunit-integration-legacy.baseline.xml
index 3aad984ecb..8f496733e1 100644
--- a/phpunit-integration-legacy.baseline.xml
+++ b/phpunit-integration-legacy.baseline.xml
@@ -5,29 +5,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -41,16 +18,6 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/tests/bundle/Core/Resources/config/doctrine.php b/tests/bundle/Core/Resources/config/doctrine.php
index 49dee328c8..169bd765e6 100644
--- a/tests/bundle/Core/Resources/config/doctrine.php
+++ b/tests/bundle/Core/Resources/config/doctrine.php
@@ -17,7 +17,10 @@
'dbal' => [
'url' => '%env(DATABASE_URL)%',
'logging' => false,
- 'use_savepoints' => true,
],
+ 'orm' => array_filter([
+ 'controller_resolver' => ['auto_mapping' => false],
+ 'enable_native_lazy_objects' => \PHP_VERSION_ID >= 80400 ? true : null,
+ ], static fn ($v) => $v !== null),
]);
};
diff --git a/tests/bundle/Core/Resources/config/framework.yaml b/tests/bundle/Core/Resources/config/framework.yaml
index 348740bc30..b62027c53d 100644
--- a/tests/bundle/Core/Resources/config/framework.yaml
+++ b/tests/bundle/Core/Resources/config/framework.yaml
@@ -10,3 +10,5 @@ framework:
app: cache.adapter.array
router:
resource: '%ibexa.core.test.resource_dir%/config/routes.yaml'
+ property_info:
+ with_constructor_extractor: false