[TASK] Use real ObjectManager stubs in unit tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Persistence / Generic / Storage / Typo3DbBackendTest.php
index 8d3053f..75a51fa 100644 (file)
@@ -118,7 +118,7 @@ class Typo3DbBackendTest extends UnitTestCase
             '',
             false
         );
-        $mockObjectManager = $this->getAccessibleMock(ObjectManager::class, ['get']);
+        $mockObjectManager = $this->createMock(ObjectManager::class);
         $mockObjectManager->expects($this->any())
             ->method('get')
             ->with(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::class)