Project

General

Profile

Actions

Bug #86704

closed

Unit test failure if typo3conf/l10n/de/form exists

Added by Christian Kuhn about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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?

Actions #1

Updated by Christian Kuhn about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Susanne Moog about 6 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Susanne Moog about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Susanne Moog
Actions #4

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

Actions #5

Updated by Susanne Moog about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF