[#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
This commit is contained in:
parent
abbf347dc7
commit
7a2162bbcb
4 changed files with 14 additions and 8 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue