The remaining failed test for user.module does not check that user-configurable timezones are enabled and that a default timezone is set.

CommentFileSizeAuthor
#2 user.test.patch1.54 KBboombatower
user.test.patch839 bytesfloretan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Do we already have an extended timezone test in user.test? If not, we could use one.

boombatower’s picture

FileSize
1.54 KB

There 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!

boombatower’s picture

Status: Needs review » Reviewed & tested by the community

This has my +1.

floretan’s picture

Good 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.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the clarifications and the additional correction. Committed to CVS HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.