Skip to content
Snippets Groups Projects
Commit 6523fd6e authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Avoid setMethodsExcept() for phpunit 10

setMethodsExcept() on mocks has been removed
with phpunit 10.

There are three usages in one test case, those
can be converted to onlyMethods() easily.

Resolves: #100323
Related: #100249
Releases: main
Change-Id: Ifa2a992971727e5deed8e32a2b33a71dbb6efb99
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78277


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c6a1b180
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment