mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Updates migration tests to reflect front-end mapping changes. (#8237)
This commit is contained in:
committed by
Jesús Espino
parent
9325430859
commit
b7fc3d7d35
@@ -962,7 +962,7 @@ func (s *ThemeSettings) SetDefaults() {
|
||||
type TeamSettings struct {
|
||||
SiteName string
|
||||
MaxUsersPerTeam *int
|
||||
EnableTeamCreation bool
|
||||
EnableTeamCreation *bool
|
||||
EnableUserCreation bool
|
||||
EnableOpenServer *bool
|
||||
RestrictCreationToDomains string
|
||||
@@ -1085,6 +1085,10 @@ func (s *TeamSettings) SetDefaults() {
|
||||
if s.ExperimentalPrimaryTeam == nil {
|
||||
s.ExperimentalPrimaryTeam = NewString("")
|
||||
}
|
||||
|
||||
if s.EnableTeamCreation == nil {
|
||||
s.EnableTeamCreation = NewBool(true)
|
||||
}
|
||||
}
|
||||
|
||||
type ClientRequirements struct {
|
||||
|
||||
Reference in New Issue
Block a user