[BUGFIX] Tests: Replace objectManager with mock in ext:extbase
The usage of native objectManager in Extbase' BaseTestClass introduces a dependency to the systems database. In order to reduce the unit test bootstrap this dependency must be resolved. Change-Id: I862664d4ca032d18f22b18677816bed1e1bc2a4a Resolves: #56936 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28421 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
Showing
- typo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php 4 additions, 37 deletionstypo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php
- typo3/sysext/extbase/Tests/Unit/Hook/DataHandler/CheckFlexFormValueTest.php 5 additions, 11 deletions...se/Tests/Unit/Hook/DataHandler/CheckFlexFormValueTest.php
- typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php 1 addition, 1 deletion...ext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php 15 additions, 5 deletions...ts/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php 6 additions, 10 deletions...tbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php 10 additions, 10 deletions...sext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php
- typo3/sysext/extbase/Tests/Unit/Property/MapperTest.php 20 additions, 15 deletionstypo3/sysext/extbase/Tests/Unit/Property/MapperTest.php
- typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php 83 additions, 0 deletions.../sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php
- typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php 1 addition, 39 deletions...t/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php
- typo3/sysext/extbase/Tests/Unit/Scheduler/FieldProviderTest.php 74 additions, 81 deletions...sysext/extbase/Tests/Unit/Scheduler/FieldProviderTest.php
- typo3/sysext/extbase/Tests/Unit/Scheduler/TaskTest.php 0 additions, 5 deletionstypo3/sysext/extbase/Tests/Unit/Scheduler/TaskTest.php
Please register or sign in to comment