PLT-6761 fixing unit tests (#6671)

This commit is contained in:
Corey Hulen
2017-06-19 09:08:52 -07:00
committed by GitHub
parent 36f216cb7c
commit e2cc0df2e8
11 changed files with 284 additions and 284 deletions

View File

@@ -77,7 +77,7 @@ func TestIncomingWebhook(t *testing.T) {
app.UpdateUserRoles(user.Id, model.ROLE_SYSTEM_ADMIN.Id)
ApiClient.SetTeamId(team.Id)
channel1 := &model.Channel{DisplayName: "Test API Name", Name: "a" + model.NewId() + "a", Type: model.CHANNEL_OPEN, TeamId: team.Id}
channel1 := &model.Channel{DisplayName: "Test API Name", Name: "zz" + model.NewId() + "a", Type: model.CHANNEL_OPEN, TeamId: team.Id}
channel1 = ApiClient.Must(ApiClient.CreateChannel(channel1)).Data.(*model.Channel)
if utils.Cfg.ServiceSettings.EnableIncomingWebhooks {