Skip to content

Commit

Permalink
redfishwrapper: minor fix for test
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Nov 28, 2023
1 parent cdc6f14 commit 8c3aefb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/redfishwrapper/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var endpointFunc = func(t *testing.T, file string) http.HandlerFunc {
// expect either GET or Delete methods
if r.Method != http.MethodGet && r.Method != http.MethodDelete {
w.WriteHeader(http.StatusNotFound)
return
}

_, _ = w.Write(mustReadFile(t, file))
Expand Down

0 comments on commit 8c3aefb

Please sign in to comment.