diff --git a/xray_test.go b/xray_test.go index 663f67f54..cf70543d8 100644 --- a/xray_test.go +++ b/xray_test.go @@ -916,8 +916,8 @@ func curationServer(t *testing.T, expectedRequest map[string]bool, requestToFail if r.Method == http.MethodGet { if r.RequestURI == "/api/system/version" { _, err := w.Write([]byte(`{"version": "7.0.0"}`)) - w.WriteHeader(http.StatusOK) require.NoError(t, err) + w.WriteHeader(http.StatusOK) return }