mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing build
This commit is contained in:
@@ -138,6 +138,11 @@ func TestUploadFile(t *testing.T) {
|
||||
|
||||
func TestGetFile(t *testing.T) {
|
||||
Setup()
|
||||
enablePublicLink := utils.Cfg.FileSettings.EnablePublicLink
|
||||
defer func() {
|
||||
utils.Cfg.FileSettings.EnablePublicLink = enablePublicLink
|
||||
}()
|
||||
utils.Cfg.FileSettings.EnablePublicLink = true
|
||||
|
||||
team := &model.Team{DisplayName: "Name", Name: "z-z-" + model.NewId() + "a", Email: "test@nowhere.com", Type: model.TEAM_OPEN}
|
||||
team = Client.Must(Client.CreateTeam(team)).Data.(*model.Team)
|
||||
|
||||
Reference in New Issue
Block a user