From f1adaef45849fc260b07be39a39b9c1ee5146923 Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Fri, 7 Jul 2017 15:36:47 -0400 Subject: Less verbose integration tests (#2123) * Helper functions for intergration test boilerplate --- integrations/api_team_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'integrations/api_team_test.go') diff --git a/integrations/api_team_test.go b/integrations/api_team_test.go index 279014c6ca..b8d21be539 100644 --- a/integrations/api_team_test.go +++ b/integrations/api_team_test.go @@ -22,8 +22,7 @@ func TestAPITeam(t *testing.T) { session := loginUser(t, user.Name) req := NewRequestf(t, "GET", "/api/v1/teams/%d", teamUser.TeamID) - resp := session.MakeRequest(t, req) - assert.EqualValues(t, http.StatusOK, resp.HeaderCode) + resp := session.MakeRequest(t, req, http.StatusOK) var apiTeam api.Team DecodeJSON(t, resp, &apiTeam) -- cgit v1.2.3