diff --git a/tests/Model/ModelManagerTest.php b/tests/Model/ModelManagerTest.php index 2350fd3a..960bd93d 100644 --- a/tests/Model/ModelManagerTest.php +++ b/tests/Model/ModelManagerTest.php @@ -327,8 +327,6 @@ public function testFailingBatchDelete(string $expectedExceptionMessage, array $ Configuration::AUTOGENERATE_FILE_NOT_EXISTS ); $uow = new UnitOfWork($dm, $eventManager, $hydratorFactory); - /** @psalm-suppress InternalMethod */ - $hydratorFactory->setUnitOfWork($uow); $dm ->expects(static::atLeastOnce())