diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2018-12-06 22:26:25 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2018-12-06 22:26:25 +0300 |
commit | 7a2162bbcb2e3a64ed6b56229311aa9fd487351a (patch) | |
tree | 7e157c224d2e83c83561863968c6c1a1847e11b4 /test/web/mastodon_api | |
parent | abbf347dc7de80d2c09d461fd39f9959f8b666b9 (diff) | |
download | pleroma-7a2162bbcb2e3a64ed6b56229311aa9fd487351a.tar.gz pleroma-7a2162bbcb2e3a64ed6b56229311aa9fd487351a.zip |
[#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r-- | test/web/mastodon_api/account_view_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs index d6c9f58c8..3cb9b9c5b 100644 --- a/test/web/mastodon_api/account_view_test.exs +++ b/test/web/mastodon_api/account_view_test.exs @@ -55,7 +55,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do privacy: "public", sensitive: false }, - tags: [] + pleroma: %{tags: []} } assert expected == AccountView.render("account.json", %{user: user}) @@ -93,7 +93,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do privacy: "public", sensitive: false }, - tags: [] + pleroma: %{tags: []} } assert expected == AccountView.render("account.json", %{user: user}) |