Project

General

Profile

Actions

Bug #75954

closed

UnitTest Failure in typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php

Added by Morton Jonuschat over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Start date:
2016-04-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Running the unit tests in typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php with a TimeZone different from UTC results in test failures:

1) TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest::getPlainValueReturnsCorrectDateTimeFormat
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2013-04-15 09:30:00'
+'2013-04-15 07:30:00'

typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php:279

Steps to reproduce:

bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml -ddate.timezone=Europe/Amsterdam typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php
Actions

Also available in: Atom PDF