Add header image to masto api.
This commit is contained in:
parent
d66d69c3b4
commit
e8975d06be
2 changed files with 9 additions and 4 deletions
|
|
@ -20,8 +20,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
|
|||
url: user.ap_id,
|
||||
avatar: "https://placehold.it/48x48",
|
||||
avatar_static: "https://placehold.it/48x48",
|
||||
header: "",
|
||||
header_static: ""
|
||||
header: "https://placehold.it/700x335",
|
||||
header_static: "https://placehold.it/700x335"
|
||||
}
|
||||
|
||||
assert expected == AccountView.render("account.json", %{user: user})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue