TwitterAPI: fix "Follows you" being shown for the wrong user.
This commit is contained in:
parent
196d36a7d5
commit
935e544e19
2 changed files with 6 additions and 4 deletions
|
|
@ -668,6 +668,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
|
||||
conn =
|
||||
conn
|
||||
|> assign(:user, user)
|
||||
|> get("/api/statuses/friends", %{"user_id" => user.id})
|
||||
|
||||
assert MapSet.equal?(
|
||||
|
|
@ -689,6 +690,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
|
||||
conn =
|
||||
conn
|
||||
|> assign(:user, user)
|
||||
|> get("/api/statuses/friends", %{"screen_name" => user.nickname})
|
||||
|
||||
assert MapSet.equal?(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue