diff options
Diffstat (limited to 'tests/integration/cors_test.go')
-rw-r--r-- | tests/integration/cors_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/cors_test.go b/tests/integration/cors_test.go index e4151d1c32..83d200402c 100644 --- a/tests/integration/cors_test.go +++ b/tests/integration/cors_test.go @@ -14,7 +14,7 @@ import ( func TestCORSNotSet(t *testing.T) { defer tests.PrepareTestEnv(t)() - req := NewRequestf(t, "GET", "/api/v1/version") + req := NewRequest(t, "GET", "/api/v1/version") session := loginUser(t, "user2") resp := session.MakeRequest(t, req, http.StatusOK) assert.Equal(t, resp.Code, http.StatusOK) |