AccountView: Add test for show_birthday

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-01-25 17:10:40 +01:00
commit ab12a05a43
2 changed files with 35 additions and 3 deletions

View file

@ -297,7 +297,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
skip_thread_containment: user.skip_thread_containment,
background_image: image_url(user.background) |> MediaProxy.url(),
accepts_chat_messages: user.accepts_chat_messages,
favicon: favicon,
favicon: favicon
}
}
|> maybe_put_role(user, opts[:for])