Fixing build
Этот коммит содержится в:
@@ -138,6 +138,11 @@ func TestUploadFile(t *testing.T) {
|
|||||||
|
|
||||||
func TestGetFile(t *testing.T) {
|
func TestGetFile(t *testing.T) {
|
||||||
Setup()
|
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 := &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)
|
team = Client.Must(Client.CreateTeam(team)).Data.(*model.Team)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user