Merge pull request #26353 from nextcloud/techdebt/noid/make-testcase-class-compatible-with-phpunit-9.5 Make Testcase class compatible with phpunit-9.5