Fix test json property name
This commit is contained in:
parent
bade3895da
commit
e9f28b9c6e
5 changed files with 31 additions and 31 deletions
|
@ -14,7 +14,7 @@ func TestCmdUpload(t *testing.T) {
|
|||
func(w http.ResponseWriter, r *http.Request) {
|
||||
switch r.URL.Path {
|
||||
case "/api/v1/media":
|
||||
fmt.Fprintln(w, `{"ID": 123}`)
|
||||
fmt.Fprintln(w, `{"id": 123}`)
|
||||
return
|
||||
}
|
||||
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue