Returning nil on delete, fix species test
This commit is contained in:
parent
eb7c778be8
commit
a669cf8d93
3 changed files with 3 additions and 2 deletions
|
@ -156,6 +156,7 @@ func TestSpeciesService_Delete(t *testing.T) {
|
|||
mux.HandleFunc(urlPath(t, router.DeleteSpecies, map[string]string{"Id": "1"}), func(w http.ResponseWriter, r *http.Request) {
|
||||
called = true
|
||||
testMethod(t, r, "DELETE")
|
||||
testBody(t, r, "")
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
writeJSON(w, want)
|
||||
|
|
Reference in a new issue