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 cc2d85b41e..e4151d1c32 100644 --- a/tests/integration/cors_test.go +++ b/tests/integration/cors_test.go @@ -19,5 +19,5 @@ func TestCORSNotSet(t *testing.T) { resp := session.MakeRequest(t, req, http.StatusOK) assert.Equal(t, resp.Code, http.StatusOK) corsHeader := resp.Header().Get("Access-Control-Allow-Origin") - assert.Equal(t, corsHeader, "", "Access-Control-Allow-Origin: generated header should match") // header not set + assert.Empty(t, corsHeader, "Access-Control-Allow-Origin: generated header should match") // header not set } |