teams: add team count when searching for team

closes #10207
This commit is contained in:
bergquist
2017-12-14 17:22:45 +01:00
parent 854d22fa8e
commit 256f7176a2
4 changed files with 46 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ import (
func TestTeamApiEndpoint(t *testing.T) {
Convey("Given two teams", t, func() {
mockResult := models.SearchTeamQueryResult{
Teams: []*models.Team{
Teams: []*models.SearchTeamDto{
{Name: "team1"},
{Name: "team2"},
},