[TASK] Remove usage of deprecated method `setMethods` in UnitTests
The function `setMethods` in the MockBuilder class of PHPunit is deprecated. Use `onlyMethods` or `addMethods` instead. Resolves: #94750 Releases: master Change-Id: I08728a7a3c8342c5f7f47146fa907d5ae4e58c9e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70291 Tested-by:core-ci <typo3@b13.com> Tested-by:
Marvin Dosse <marvindosse@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Marvin Dosse <marvindosse@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php 3 additions, 3 deletions...backend/Tests/Unit/Controller/File/FileControllerTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php 1 addition, 1 deletion...m/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php 1 addition, 1 deletion.../Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php 1 addition, 1 deletion...s/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabasePageLanguageOverlayRowsTest.php 1 addition, 1 deletion.../FormDataProvider/DatabasePageLanguageOverlayRowsTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php 1 addition, 1 deletion.../Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php 1 addition, 1 deletion...nit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php
- typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php 1 addition, 1 deletiontypo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php
- typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php 4 additions, 4 deletions...s/Unit/View/BackendLayout/BackendLayoutCollectionTest.php
- typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php 4 additions, 4 deletions...ts/Unit/View/BackendLayout/DataProviderCollectionTest.php
- typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php 2 additions, 1 deletion...g/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php
- typo3/sysext/belog/Tests/Unit/Domain/Repository/WorkspaceRepositoryTest.php 1 addition, 1 deletion.../Tests/Unit/Domain/Repository/WorkspaceRepositoryTest.php
- typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php 8 additions, 8 deletions...sts/Functional/Cache/Backend/Typo3DatabaseBackendTest.php
- typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php 1 addition, 1 deletion...3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php
- typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php 1 addition, 1 deletion...ts/Unit/Authentication/AbstractUserAuthenticationTest.php
- typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php 12 additions, 12 deletions...sts/Unit/Authentication/BackendUserAuthenticationTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php 33 additions, 33 deletions.../sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php 12 additions, 12 deletionstypo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php 21 additions, 17 deletions...t/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php 2 additions, 2 deletions...sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php
Please register or sign in to comment