Fix test json property name again

pull/36/head
y0za 2017-04-20 22:41:49 +09:00
parent c417db5189
commit 1c95b07428
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func TestCmdToot(t *testing.T) {
switch r.URL.Path {
case "/api/v1/statuses":
toot = r.FormValue("status")
fmt.Fprintln(w, `{"ID": 2345}`)
fmt.Fprintln(w, `{"id": 2345}`)
return
}
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)