test(status_view): resolve the remote status as a logged-in user

This commit is contained in:
Lain Soykaf 2026-10-29 10:41:51 +04:00
commit f568536b65
No known key found for this signature in database

View file

@ -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})