diff options
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) } |