From c53c9ed1904d5c998c23222062eb4c91539c1e61 Mon Sep 17 00:00:00 2001 From: Hossein Ahmadian-Yazdi Date: Thu, 16 Jul 2020 10:36:29 -0400 Subject: [PATCH] [MM-26720] Update testing names (#15015) * update testing names * fix typo --- api4/team_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api4/team_test.go b/api4/team_test.go index 5048124047..ae23a655b2 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -1235,31 +1235,31 @@ func TestSearchAllTeamsPaged(t *testing.T) { ExpectedTotalCount int64 }{ { - Name: "Get foobar channel", + Name: "Retrieve foobar team using partial term search", Search: &model.TeamSearch{Term: "oobardisplay", Page: model.NewInt(0), PerPage: model.NewInt(100)}, ExpectedTeams: []string{foobarTeam.Id}, ExpectedTotalCount: 1, }, { - Name: "Get foobar channel", + Name: "Retrieve foobar team using the beginning of the display name as search text", Search: &model.TeamSearch{Term: "foobar", Page: model.NewInt(0), PerPage: model.NewInt(100)}, ExpectedTeams: []string{foobarTeam.Id}, ExpectedTotalCount: 1, }, { - Name: "Get foobar channel", + Name: "Retrieve foobar team using the ending of the term of the display name", Search: &model.TeamSearch{Term: "bardisplayname", Page: model.NewInt(0), PerPage: model.NewInt(100)}, ExpectedTeams: []string{foobarTeam.Id}, ExpectedTotalCount: 1, }, { - Name: "Get foobar channel", + Name: "Retrieve foobar team using partial term search on the name property of team", Search: &model.TeamSearch{Term: "what", Page: model.NewInt(0), PerPage: model.NewInt(100)}, ExpectedTeams: []string{foobarTeam.Id}, ExpectedTotalCount: 1, }, { - Name: "Get foobar channel", + Name: "Retrieve foobar team using partial term search on the name property of team #2", Search: &model.TeamSearch{Term: "ever", Page: model.NewInt(0), PerPage: model.NewInt(100)}, ExpectedTeams: []string{foobarTeam.Id}, ExpectedTotalCount: 1,