Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
693 B
Referenced Files
None
Subscribers
None
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})

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 2, 8:20 AM (15 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1803791
Default Alt Text
(693 B)

Event Timeline