test(status_view): resolve the remote status as a logged-in user
This commit is contained in:
parent
db43aec782
commit
f568536b65
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
|||
|
||||
test "put the url advertised in the Activity in to the url attribute" do
|
||||
id = "https://wedistribute.org/wp-json/pterotype/v1/object/85810"
|
||||
[activity] = Activity.search(nil, id)
|
||||
[activity] = Activity.search(insert(:user), id, resolve: true)
|
||||
|
||||
status = StatusView.render("show.json", %{activity: activity})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue