diff options
Diffstat (limited to 'integrations/api_team_test.go')
-rw-r--r-- | integrations/api_team_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/api_team_test.go b/integrations/api_team_test.go index a884085f5c..a7c22d6ba1 100644 --- a/integrations/api_team_test.go +++ b/integrations/api_team_test.go @@ -41,10 +41,10 @@ func TestAPITeam(t *testing.T) { session = loginUser(t, user2.Name) token = getTokenForLoggedInUser(t, session) req = NewRequestf(t, "GET", "/api/v1/teams/%d?token="+token, teamUser.TeamID) - resp = session.MakeRequest(t, req, http.StatusForbidden) + _ = session.MakeRequest(t, req, http.StatusForbidden) req = NewRequestf(t, "GET", "/api/v1/teams/%d", teamUser.TeamID) - resp = session.MakeRequest(t, req, http.StatusUnauthorized) + _ = session.MakeRequest(t, req, http.StatusUnauthorized) // Get an admin user able to create, update and delete teams. user = models.AssertExistsAndLoadBean(t, &models.User{ID: 1}).(*models.User) |