From f568536b65bde83ee86a836ceb7f7bcfab647bf0 Mon Sep 17 00:00:00 2001 From: Lain Soykaf Date: Thu, 29 Oct 2026 10:41:51 +0400 Subject: [PATCH] test(status_view): resolve the remote status as a logged-in user --- test/pleroma/web/mastodon_api/views/status_view_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pleroma/web/mastodon_api/views/status_view_test.exs b/test/pleroma/web/mastodon_api/views/status_view_test.exs index 6d1bda193..b121cf32c 100644 --- a/test/pleroma/web/mastodon_api/views/status_view_test.exs +++ b/test/pleroma/web/mastodon_api/views/status_view_test.exs @@ -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})