[TASK] EXT:form - add unit tests for the translation service 80/51480/5
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Mon, 30 Jan 2017 23:26:38 +0000 (00:26 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 2 Feb 2017 20:31:14 +0000 (21:31 +0100)
commit77665609d7a53ab72c467e6c74daba75f2052f36
tree688308fbece7257274ae49b2742e325965cd7c39
parent5351ba2e382081a793e2b02a2beb863949bf3442
[TASK] EXT:form - add unit tests for the translation service

This patch adds unit tests and fixes a small bug.

Resolves: #79562
Releases: master
Change-Id: If71015177c4a36acde0b5a7a8e502b98fb841311
Reviewed-on: https://review.typo3.org/51480
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Tests/Unit/Service/Fixtures/de.locallang_form.xlf [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Service/Fixtures/de.locallang_text.xlf [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_form.xlf [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_text.xlf [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php [new file with mode: 0644]