Fix tests

This commit is contained in:
Egor Kislitsyn 2019-07-24 19:48:15 +07:00
parent e0ac5c7a66
commit d6094b405d
1 changed files with 6 additions and 3 deletions

View File

@ -67,7 +67,8 @@ test "Represent a user account" 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 @@ test "Represent a Service(bot) account" 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 @@ test "represent an embedded relationship" do
source: %{ source: %{
note: user.bio, note: user.bio,
sensitive: false, sensitive: false,
pleroma: %{} pleroma: %{},
fields: []
}, },
pleroma: %{ pleroma: %{
background_image: nil, background_image: nil,