forked from YokaiRick/akkoma
Fix flakey test.
This commit is contained in:
parent
c336a13d2c
commit
40ca379357
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ test "it returns a user's friends", %{conn: conn} do
|
|||
|> assign(:user, user)
|
||||
|> get("/api/statuses/friends")
|
||||
|
||||
assert json_response(conn, 200) == UserView.render("index.json", %{users: [followed_one, followed_two], for: user})
|
||||
assert MapSet.equal?(MapSet.new(json_response(conn, 200)), MapSet.new(UserView.render("index.json", %{users: [followed_one, followed_two], for: user})))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue