diff options
Diffstat (limited to 'api4/team_test.go')
-rw-r--r-- | api4/team_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api4/team_test.go b/api4/team_test.go index 40f5ec778..a38acf2e6 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -22,6 +22,7 @@ func TestCreateTeam(t *testing.T) { team := &model.Team{Name: GenerateTestUsername(), DisplayName: "Some Team", Type: model.TEAM_OPEN} rteam, resp := Client.CreateTeam(team) CheckNoError(t, resp) + CheckCreatedStatus(t, resp) if rteam.Name != team.Name { t.Fatal("names did not match") @@ -635,6 +636,7 @@ func TestAddTeamMember(t *testing.T) { th.LoginBasic() tm, resp = Client.AddTeamMember(team.Id, otherUser.Id, "", "", "") CheckNoError(t, resp) + CheckCreatedStatus(t, resp) // Check all the returned data. if tm == nil { |