Skip to content
Snippets Groups Projects
Commit 4b03c43f authored by lain's avatar lain
Browse files

fix specs.

parent 6c3a0ffa
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,9 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do
"profile_image_url_original" => image,
"following" => false,
"rights" => %{},
"statusnet_profile_url" => user.ap_id
"statusnet_profile_url" => user.ap_id,
"cover_photo" => nil,
"background_image" => nil
}
assert represented == UserView.render("show.json", %{user: user})
......@@ -76,7 +78,9 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do
"profile_image_url_original" => image,
"following" => true,
"rights" => %{},
"statusnet_profile_url" => user.ap_id
"statusnet_profile_url" => user.ap_id,
"cover_photo" => nil,
"background_image" => nil
}
assert represented == UserView.render("show.json", %{user: user, for: follower})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment