mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
this should be looking at the follower's bio, not the user's bio.
fixes test.
This commit is contained in:
parent
f533daffdb
commit
e883587cc3
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do
|
|||
"name" => follower.name,
|
||||
"screen_name" => follower.nickname,
|
||||
"name_html" => follower.name,
|
||||
"description" => HtmlSanitizeEx.strip_tags(user.bio |> String.replace("<br>", "\n")),
|
||||
"description_html" => HtmlSanitizeEx.basic_html(user.bio),
|
||||
"description" => HtmlSanitizeEx.strip_tags(follower.bio |> String.replace("<br>", "\n")),
|
||||
"description_html" => HtmlSanitizeEx.basic_html(follower.bio),
|
||||
"created_at" => follower.inserted_at |> Utils.format_naive_asctime(),
|
||||
"favourites_count" => 0,
|
||||
"statuses_count" => 0,
|
||||
|
|
Loading…
Reference in a new issue