Skip to content

Commit

Permalink
fix static
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 5, 2023
1 parent f00d90e commit 2dbcc5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,9 @@ func curationServer(t *testing.T, expectedRequest map[string]bool, requestToFail
}
if r.Method == http.MethodGet {
if r.RequestURI == "/api/system/version" {
w.Write([]byte(`{"version": "7.0.0"}`))
_, err := w.Write([]byte(`{"version": "7.0.0"}`))
w.WriteHeader(http.StatusOK)
require.NoError(t, err)
return
}

Expand Down

0 comments on commit 2dbcc5c

Please sign in to comment.