Fix tests

This commit is contained in:
Egor Kislitsyn 2019-07-24 19:48:15 +07:00
parent e0ac5c7a66
commit d6094b405d

View file

@ -67,7 +67,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{ source: %{
note: "valid html", note: "valid html",
sensitive: false, sensitive: false,
pleroma: %{} pleroma: %{},
fields: []
}, },
pleroma: %{ pleroma: %{
background_image: "https://example.com/images/asuka_hospital.png", background_image: "https://example.com/images/asuka_hospital.png",
@ -134,7 +135,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{ source: %{
note: user.bio, note: user.bio,
sensitive: false, sensitive: false,
pleroma: %{} pleroma: %{},
fields: []
}, },
pleroma: %{ pleroma: %{
background_image: nil, background_image: nil,
@ -304,7 +306,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{ source: %{
note: user.bio, note: user.bio,
sensitive: false, sensitive: false,
pleroma: %{} pleroma: %{},
fields: []
}, },
pleroma: %{ pleroma: %{
background_image: nil, background_image: nil,