diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-20 15:35:02 -0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-02-20 15:35:02 -0500 |
commit | a5f8bdd3a073fa30bd9edd835bd2355c398efc8d (patch) | |
tree | 1805d203a14a8e1272b925178ae60522fc1eb7ec /api4/team_test.go | |
parent | 5272c0c17062d2b9ce14e295174bba1b3b35e514 (diff) | |
download | chat-a5f8bdd3a073fa30bd9edd835bd2355c398efc8d.tar.gz chat-a5f8bdd3a073fa30bd9edd835bd2355c398efc8d.tar.bz2 chat-a5f8bdd3a073fa30bd9edd835bd2355c398efc8d.zip |
Various APIv4 fixes (#5474)
Diffstat (limited to 'api4/team_test.go')
-rw-r--r-- | api4/team_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api4/team_test.go b/api4/team_test.go index 32f1bc967..4381f903c 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -278,4 +278,8 @@ func TestGetTeamStats(t *testing.T) { Client.Login(user.Email, user.Password) _, resp = Client.GetTeamStats(th.BasicTeam.Id, "") CheckForbiddenStatus(t, resp) + + Client.Logout() + _, resp = Client.GetTeamStats(th.BasicTeam.Id, "") + CheckUnauthorizedStatus(t, resp) } |