Update unit test

This commit is contained in:
JoramWilander
2017-08-09 09:33:30 -04:00
parent 311335b62c
commit d780ac6e27

View File

@@ -503,6 +503,10 @@ func TestSearchAllTeams(t *testing.T) {
defer TearDown()
Client := th.Client
oTeam := th.BasicTeam
oTeam.AllowOpenInvite = true
updatedTeam, _ := app.UpdateTeam(oTeam)
oTeam.UpdateAt = updatedTeam.UpdateAt
pTeam := &model.Team{DisplayName: "PName", Name: GenerateTestTeamName(), Email: GenerateTestEmail(), Type: model.TEAM_INVITE}
Client.CreateTeam(pTeam)