Skip to content
Snippets Groups Projects
Commit f212c015 authored by Hakaba Hitoyo's avatar Hakaba Hitoyo
Browse files

Update twitter_api_controller_test.exs

parent c5d61c20
No related tags found
No related merge requests found
......@@ -512,8 +512,11 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
conn = conn
|> assign(:user, user)
|> get("/api/statuses/followers")
response = json_response(conn, 200)
assert json_response(conn, 200) == UserView.render("index.json", %{users: [follower_one, follower_two], for: user})
assert (response == UserView.render("index.json", %{users: [follower_one, follower_two], for: user})) ||
(response == UserView.render("index.json", %{users: [follower_two, follower_one], for: user}))
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment