diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-01-23 13:43:07 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-23 13:43:07 -0500 |
commit | 58b3c76c94499e77194d814ebd63ad1e6f3a2d9e (patch) | |
tree | 0814deb0df8e700a0124dc02a2e1d3263da9b9e7 /api/team_test.go | |
parent | d1f0cacdc95131334fc754b2bf04ada4dc2dadae (diff) | |
download | chat-58b3c76c94499e77194d814ebd63ad1e6f3a2d9e.tar.gz chat-58b3c76c94499e77194d814ebd63ad1e6f3a2d9e.tar.bz2 chat-58b3c76c94499e77194d814ebd63ad1e6f3a2d9e.zip |
Fix adding user to team and add test check (#5172)
Diffstat (limited to 'api/team_test.go')
-rw-r--r-- | api/team_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/team_test.go b/api/team_test.go index 1b1b555fe..5720f71d7 100644 --- a/api/team_test.go +++ b/api/team_test.go @@ -79,6 +79,10 @@ func TestAddUserToTeam(t *testing.T) { t.Fatal("ids didn't match") } } + + if _, err := th.BasicClient.GetTeamMember(th.BasicTeam.Id, user2.Id); err != nil { + t.Fatal(err) + } } func TestRemoveUserFromTeam(t *testing.T) { |