Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
datetime.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Sep 2014 at 00:34 UTC
Updated:
25 Sep 2014 at 17:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
yesct commentedpatch to explain my idea.
Comment #2
yesct commenteduh. and the patch.
Comment #4
yesct commentedcrap. right patch.
Comment #5
yesct commentedComment #7
alexpottWe can completely remove the user part of the test - it's not really doing much apart from making things complicated - language negotiation, the ability of user's to set timezones and preferred languages are all tested elsewhere.
Comment #8
yesct commentedbut I wonder if this is testing to see if things are showing in the user preferred language.
Where is "elsewhere"?
I'll look again.
Comment #9
gábor hojtsyThis test definitely does not test setting a user preferred language, because even though it sets the user to prefer a language, it does not set the negotiation to include that condition, so it needs to manually fiddle with the interface language to be equal to the user preference, which is the point of this issue... So I agree it just makes the test too complex. UserTimeZoneTest looks like a good test for user timezones that does what this part of this test did. So looks good to me.
Comment #10
yesct commentedok. :)
Comment #11
catchCommitted/pushed to 8.0,x, thanks!
Comment #13
gábor hojtsyYay, thanks.