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

[TASK] Avoid invalid methods in TranslationServiceTest

TranslationServiceTest tries to mock some methods
that don't exist. Solving this reveals the test
subject contains invalid calls to getProperties(),
see issue #100477. The patch marks the two affected
tests as skipped for now, and fixed the others to
stop mocking not existing methods.

> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #100478
Related: #100477
Related: #100249
Releases: main
Change-Id: Id02c4bfc57d4c4773def11b212fe462638fa1021
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78484


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 190b946f
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