display acct in followers command
This commit is contained in:
parent
18d207636a
commit
adca356db1
3 changed files with 15 additions and 12 deletions
|
@ -17,7 +17,7 @@ func TestCmdFollowers(t *testing.T) {
|
|||
fmt.Fprintln(w, `{"id": 123}`)
|
||||
return
|
||||
case "/api/v1/accounts/123/followers":
|
||||
fmt.Fprintln(w, `[{"id": 234, "username": "zzz"}]`)
|
||||
fmt.Fprintln(w, `[{"id": 234, "username": "ZZZ", "acct": "zzz"}]`)
|
||||
return
|
||||
}
|
||||
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue