mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-22 17:27:18 +00:00
fix specs.
This commit is contained in:
parent
6c3a0ffae4
commit
4b03c43fd7
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue