diff options
Diffstat (limited to 'integrations/user_test.go')
-rw-r--r-- | integrations/user_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/integrations/user_test.go b/integrations/user_test.go index f9358c1682..d3f7ca1b53 100644 --- a/integrations/user_test.go +++ b/integrations/user_test.go @@ -14,8 +14,7 @@ import ( func TestViewUser(t *testing.T) { prepareTestEnv(t) - req, err := http.NewRequest("GET", "/user2", nil) - assert.NoError(t, err) + req := NewRequest(t, "GET", "/user2") resp := MakeRequest(req) assert.EqualValues(t, http.StatusOK, resp.HeaderCode) } |