Skip to content

Commit

Permalink
Update teams_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tonglil authored Jun 2, 2020
1 parent 30d2c1f commit 0267d88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions teams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
"teamId":2
}
`
updateTeamJSON = `{ "message":"Team updated"}`
updateTeamJSON = `{"message":"Team updated"}`
deleteTeamJSON = `{"message":"Team deleted"}`
getTeamMembersJSON = `
[
Expand Down Expand Up @@ -118,7 +118,7 @@ func TestSearchTeam(t *testing.T) {
}
t.Run("check data", func(t *testing.T) {
if expect.TotalCount != resp.TotalCount || expect.Teams[0].Name != resp.Teams[0].Name {
t.Error("Not correctly data")
t.Error("Not correctly parsing returned team search.")
}
})
}
Expand Down Expand Up @@ -146,7 +146,7 @@ func TestTeam(t *testing.T) {
}
t.Run("check data", func(t *testing.T) {
if expect.Id != resp.Id || expect.Name != expect.Name {
t.Error("Not correctly data")
t.Error("Not correctly parsing returned team.")
}
})
}
Expand Down Expand Up @@ -224,7 +224,7 @@ func TestTeamMembers(t *testing.T) {
for i, expect := range expects {
t.Run("check data", func(t *testing.T) {
if expect.Email != resp[i].Email || expect.AvatarUrl != resp[i].AvatarUrl {
t.Error("Not correctly data")
t.Error("Not correctly parsing returned team members.")
}
})
}
Expand Down Expand Up @@ -272,7 +272,7 @@ func TestTeamPreferences(t *testing.T) {

t.Run("check data", func(t *testing.T) {
if expect.Theme != resp.Theme || expect.HomeDashboardId != resp.HomeDashboardId {
t.Error("Not correctly data")
t.Error("Not correctly parsing returned team preferences.")
}
})
}
Expand Down

0 comments on commit 0267d88

Please sign in to comment.