Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The remaining failed test for user.module does not check that user-configurable timezones are enabled and that a default timezone is set.
Comment | File | Size | Author |
---|---|---|---|
#2 | user.test.patch | 1.54 KB | boombatower |
user.test.patch | 839 bytes | floretan | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedDo we already have an extended timezone test in user.test? If not, we could use one.
Comment #2
boombatower CreditAttribution: boombatower commentedThere isn't an extended timezone test in user.test, but this is necessary in order for the registration test to pass. This was noted as an issue, but were never resolved.
The patch fixes the issue. There was also a mistake on the
assertTrue
(looks like a simple copy paste error). So I fixed that and removed extra spacing.Thanks!
Comment #3
boombatower CreditAttribution: boombatower commentedThis has my +1.
Comment #4
floretan CreditAttribution: floretan commentedGood catch on the assertTrue (it was probably converted from an assertEqual).
Most of the timezone-related features are in common.inc and the system module, so more extensive timezone tests should be associated with these files rather than user.module.
Comment #5
Dries CreditAttribution: Dries commentedThanks for the clarifications and the additional correction. Committed to CVS HEAD.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.