[TASK] Replace deprecated getMock method in Unit tests
The "getMock" method is deprecated starting with PHPUnit 5.4 and must be replaced with the MockBuilder or the "createMock" method for simple cases. Resolves: #76647 Related: #76673 Releases: master Change-Id: Ib177969abc1c7e67f6033ba62c5e9b405dc00656 Reviewed-on: https://review.typo3.org/48588 Reviewed-by:Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
Elmar Hinz <t3elmar@gmail.com> Tested-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
Showing
- typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php 15 additions, 7 deletions...ion/TypoScript/ConditionMatching/ConditionMatcherTest.php
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php 12 additions, 3 deletions...backend/Tests/Unit/Controller/File/FileControllerTest.php
- typo3/sysext/backend/Tests/Unit/Controller/PageLayoutControllerTest.php 6 additions, 2 deletions...ackend/Tests/Unit/Controller/PageLayoutControllerTest.php
- typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php 42 additions, 23 deletionstypo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php
- typo3/sysext/backend/Tests/Unit/Tree/Pagetree/DataProviderTest.php 1 addition, 1 deletion...ext/backend/Tests/Unit/Tree/Pagetree/DataProviderTest.php
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 6 additions, 6 deletions.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php 16 additions, 4 deletions...s/Unit/View/BackendLayout/BackendLayoutCollectionTest.php
- typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php 18 additions, 6 deletions...ts/Unit/View/BackendLayout/DataProviderCollectionTest.php
- typo3/sysext/belog/Tests/Unit/Domain/Repository/HistoryEntryRepositoryTest.php 6 additions, 3 deletions...sts/Unit/Domain/Repository/HistoryEntryRepositoryTest.php
- typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php 7 additions, 4 deletions...g/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php
- typo3/sysext/belog/Tests/Unit/Domain/Repository/WorkspaceRepositoryTest.php 6 additions, 3 deletions.../Tests/Unit/Domain/Repository/WorkspaceRepositoryTest.php
- typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserRepositoryTest.php 1 addition, 1 deletion...ests/Unit/Domain/Repository/BackendUserRepositoryTest.php
- typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserSessionRepositoryTest.php 1 addition, 1 deletion...it/Domain/Repository/BackendUserSessionRepositoryTest.php
- typo3/sysext/beuser/Tests/Unit/Service/ModuleDataStorageServiceTest.php 4 additions, 4 deletions...euser/Tests/Unit/Service/ModuleDataStorageServiceTest.php
- typo3/sysext/core/Classes/Tests/BaseTestCase.php 18 additions, 9 deletionstypo3/sysext/core/Classes/Tests/BaseTestCase.php
- typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php 3 additions, 1 deletion...ts/Unit/Authentication/AbstractUserAuthenticationTest.php
- typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php 42 additions, 16 deletions...sts/Unit/Authentication/BackendUserAuthenticationTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php 8 additions, 9 deletions...3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php 147 additions, 56 deletions.../sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php 3 additions, 3 deletions...xt/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php
Please register or sign in to comment