[MM-16751] golint model (#17896)

This commit is contained in:
Ben Schumacher
2021-07-12 20:05:36 +02:00
committed by Claudio Costa
parent 953eebdef4
commit 97ccf0bdf6
472 changed files with 9126 additions and 9132 deletions

View File

@@ -25,7 +25,7 @@ func TestHelpCommand(t *testing.T) {
th.App.UpdateConfig(func(cfg *model.Config) { *cfg.SupportSettings.HelpLink = "" })
rs1, _ := Client.ExecuteCommand(channel.Id, "/help ")
assert.Equal(t, rs1.GotoLocation, model.SUPPORT_SETTINGS_DEFAULT_HELP_LINK, "failed to default help link")
assert.Equal(t, rs1.GotoLocation, model.SupportSettingsDefaultHelpLink, "failed to default help link")
th.App.UpdateConfig(func(cfg *model.Config) {
*cfg.SupportSettings.HelpLink = "https://docs.mattermost.com/guides/user.html"