Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293751

UserTimeZoneTest fails on PHP 7.0.x-dev and 7.1.x-dev

$
0
0

Problem/Motivation

E.g. https://www.drupal.org/pift-ci-job/620182

Failing tests:

User.Drupal\user\Tests\UserTimeZoneTest

✗ testUserTimeZone
fail: [Other] Line 67 of core/modules/user/src/Tests/UserTimeZoneTest.php:
Date should be Chile summer time; five hours ahead of PST.

fail: [Other] Line 69 of core/modules/user/src/Tests/UserTimeZoneTest.php:
Date should be Chile time; four hours ahead of PST

fail: [Other] Line 71 of core/modules/user/src/Tests/UserTimeZoneTest.php:
Date should be Chile time; three hours ahead of PDT.

@mpdonadio mentioned that there was a recent change to Chile's timezone rules. This may be an actual bug in HEAD as the assertion in question is for a date in 2007, and Chile's timezone rules have actually changed a few times since then.

Proposed resolution

Fix HEAD or the test, depending.

Remaining tasks

TBD

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 293751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>