MM-21229 - Customization > Site Name help text doesn't match text field behavior (#13540)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
mattermod
родитель
d4935fb22f
Коммит
49308e9163
@@ -251,9 +251,8 @@ func TestTeamSettingsIsValidSiteNameEmpty(t *testing.T) {
|
||||
c1.SetDefaults()
|
||||
c1.TeamSettings.SiteName = NewString("")
|
||||
|
||||
// should fail fast because ts.SiteName is not set
|
||||
err := c1.TeamSettings.isValid()
|
||||
require.NotNil(t, err)
|
||||
// should not fail if ts.SiteName is not set, defaults are used
|
||||
require.Nil(t, c1.TeamSettings.isValid())
|
||||
}
|
||||
|
||||
func TestMessageExportSettingsIsValidEnableExportNotSet(t *testing.T) {
|
||||
|
||||
Ссылка в новой задаче
Block a user