Initialize timezone to a default state (#8560)

Этот коммит содержится в:
Chris Duarte
2018-03-29 20:50:24 -07:00
коммит произвёл Joram Wilander
родитель 59606791a7
Коммит 80b3d14b56
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@@ -39,6 +39,10 @@ func TestUserPreSave(t *testing.T) {
if user.Timezone == nil {
t.Fatal("Timezone is nil")
}
if user.Timezone["useAutomaticTimezone"] != "true" {
t.Fatal("Timezone is not set to default")
}
}
func TestUserPreUpdate(t *testing.T) {