From 82550fced6e2eee6238605c48c0b377e699e4d36 Mon Sep 17 00:00:00 2001 From: Keith Brink Date: Mon, 24 Nov 2025 15:26:29 -0500 Subject: [PATCH] fix test suite by adding expectation for native lazy objects option --- tests/Feature/EntityManagerFactoryTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Feature/EntityManagerFactoryTest.php b/tests/Feature/EntityManagerFactoryTest.php index af9434a2..53691c85 100644 --- a/tests/Feature/EntityManagerFactoryTest.php +++ b/tests/Feature/EntityManagerFactoryTest.php @@ -987,6 +987,7 @@ protected function mockORMConfiguration(): void ->with('Repo'); $this->configuration->shouldReceive('getMiddlewares')->once()->andReturn([]); + $this->configuration->shouldReceive('isNativeLazyObjectsEnabled')->andReturn(false); $schemaManagerFactory = new DefaultSchemaManagerFactory(); $this->configuration->shouldReceive('setSchemaManagerFactory')->once();