hunk.code_window: 		restrictions, err := th.App.GetViewUsersRestrictions(user1.Id)
   		require.Nil(t, err)
   		assert.NotNil(t, restrictions)
   		assert.NotNil(t, restrictions.Teams)
   		assert.Len(t, restrictions.Channels, 0)
   		assert.ElementsMatch(t, []string{team1.Id, team2.Id}, restrictions.Teams)
   	})
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit: 		assert.NotNil(t, restrictions.Channels)
   		assert.ElementsMatch(t, []string{team1townsquare.Id, team1offtopic.Id, team1channel1.Id, team1channel2.Id, team2townsquare.Id, team2offtopic.Id, team2channel1.Id}, restrictions.Channels)
  
hunk.file_path: app/user_test.go
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  package timezones
  
  type Timezones struct {
  	supportedZones []string
  }
  
  func New() *Timezones {
  	timezones := Timezones{}
  
  	timezones.supportedZones = DefaultSupportedTimezones
  
  	return &timezones
  }
  
  func (t *Timezones) GetSupported() []string {
  	return t.supportedZones
  }
  
  func DefaultUserTimezone() map[string]string {
  	defaultTimezone := make(map[string]string)
  	defaultTimezone["useAutomaticTimezone"] = "true"
  	defaultTimezone["automaticTimezone"] = ""
  	defaultTimezone["manualTimezone"] = ""
  
  	return defaultTimezone
  }
  