diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-11-10 17:18:19 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-11-10 17:18:19 +0100 |
commit | 6e9c22c0afaa67f0b94f602eceef5c57b7c9192f (patch) | |
tree | 18dc2e310f811a5f1b9fd175574c96378ac279a2 /test/web/mastodon_api/account_view_test.exs | |
parent | f1d27a5fbbe547a78f835bd65b43a652004d708e (diff) | |
download | pleroma-6e9c22c0afaa67f0b94f602eceef5c57b7c9192f.tar.gz pleroma-6e9c22c0afaa67f0b94f602eceef5c57b7c9192f.zip |
MastoAPI: Use string ids everywhere.
Diffstat (limited to 'test/web/mastodon_api/account_view_test.exs')
-rw-r--r-- | test/web/mastodon_api/account_view_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs index c62cb4f36..eccfe0b36 100644 --- a/test/web/mastodon_api/account_view_test.exs +++ b/test/web/mastodon_api/account_view_test.exs @@ -8,7 +8,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do user = insert(:user, %{info: %{"note_count" => 5, "follower_count" => 3}, nickname: "shp@shitposter.club", inserted_at: ~N[2017-08-15 15:47:06.597036]}) expected = %{ - id: user.id, + id: to_string(user.id), username: "shp", acct: user.nickname, display_name: user.name, @@ -37,7 +37,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do user = insert(:user) expected = %{ - id: user.id, + id: to_string(user.id), acct: user.nickname, username: user.nickname, url: user.ap_id @@ -54,7 +54,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do {:ok, user} = User.block(user, other_user) expected = %{ - id: other_user.id, + id: to_string(other_user.id), following: true, followed_by: false, blocking: true, |