mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Update unit test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user