bug fix for AddToList and RemoveFromList
This commit is contained in:
parent
f54995fdf9
commit
2aa0406a44
2 changed files with 3 additions and 3 deletions
|
@ -235,7 +235,7 @@ func TestAddToList(t *testing.T) {
|
|||
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
|
||||
return
|
||||
}
|
||||
if r.PostFormValue("account_ids") != "1" {
|
||||
if r.PostFormValue("account_ids[]") != "1" {
|
||||
http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue