Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 0267d88

Browse files
authored
Update teams_test.go
1 parent 30d2c1f commit 0267d88

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

teams_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const (
4040
"teamId":2
4141
}
4242
`
43-
updateTeamJSON = `{ "message":"Team updated"}`
43+
updateTeamJSON = `{"message":"Team updated"}`
4444
deleteTeamJSON = `{"message":"Team deleted"}`
4545
getTeamMembersJSON = `
4646
[
@@ -118,7 +118,7 @@ func TestSearchTeam(t *testing.T) {
118118
}
119119
t.Run("check data", func(t *testing.T) {
120120
if expect.TotalCount != resp.TotalCount || expect.Teams[0].Name != resp.Teams[0].Name {
121-
t.Error("Not correctly data")
121+
t.Error("Not correctly parsing returned team search.")
122122
}
123123
})
124124
}
@@ -146,7 +146,7 @@ func TestTeam(t *testing.T) {
146146
}
147147
t.Run("check data", func(t *testing.T) {
148148
if expect.Id != resp.Id || expect.Name != expect.Name {
149-
t.Error("Not correctly data")
149+
t.Error("Not correctly parsing returned team.")
150150
}
151151
})
152152
}
@@ -224,7 +224,7 @@ func TestTeamMembers(t *testing.T) {
224224
for i, expect := range expects {
225225
t.Run("check data", func(t *testing.T) {
226226
if expect.Email != resp[i].Email || expect.AvatarUrl != resp[i].AvatarUrl {
227-
t.Error("Not correctly data")
227+
t.Error("Not correctly parsing returned team members.")
228228
}
229229
})
230230
}
@@ -272,7 +272,7 @@ func TestTeamPreferences(t *testing.T) {
272272

273273
t.Run("check data", func(t *testing.T) {
274274
if expect.Theme != resp.Theme || expect.HomeDashboardId != resp.HomeDashboardId {
275-
t.Error("Not correctly data")
275+
t.Error("Not correctly parsing returned team preferences.")
276276
}
277277
})
278278
}

0 commit comments

Comments
 (0)