Actions
Bug #86704
closedUnit test failure if typo3conf/l10n/de/form exists
Start date:
2018-10-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
lolli@apoc /var/www/local/cms/Web $ ./bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php
PHPUnit 7.1.5 by Sebastian Bergmann and contributors.
.....F............................ 34 / 34 (100%)
Time: 636 ms, Memory: 20,00MB
There was 1 failure:
1) TYPO3\CMS\Form\Tests\Unit\Service\TranslationServiceTest::translateReturnsExistingLanguageKeyForLanguageIfExtPathLanguageKeyIsRequested
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'FORM DE'
+'FORM EN'
/var/www/local/cms/Web/typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php:189
/var/www/local/cms/Web/vendor/phpunit/phpunit/phpunit:53
FAILURES!
Tests: 34, Assertions: 106, Failures: 1.
lolli@apoc /var/www/local/cms/Web $ mv typo3conf/l10n/de/form .
lolli@apoc /var/www/local/cms/Web $ ./bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php
PHPUnit 7.1.5 by Sebastian Bergmann and contributors.
.................................. 34 / 34 (100%)
Time: 636 ms, Memory: 20,00MB
OK (34 tests, 106 assertions)
Incomplete mocking or something?
Updated by Susanne Moog about 6 years ago
- Sprint Focus set to On Location Sprint
Updated by Susanne Moog about 6 years ago
- Status changed from New to In Progress
- Assignee set to Susanne Moog
Updated by Gerrit Code Review about 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58703
Updated by Susanne Moog about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2a9c88ba0a5ebe0a65c3f07d9f1f883021cdd4d5.
Actions