commit: 6d6bef64bf3b37457b71cf7025e84aa9017a3b86
parent 53193b84b1d07c9fd3c6b80c04e3eada4fb4cd59
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 25 Mar 2021 10:17:26 +0100
fetcher_test: Remove assert on fake Create having an ap_id
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/pleroma/object/fetcher_test.exs b/test/pleroma/object/fetcher_test.exs
@@ -132,8 +132,7 @@ defmodule Pleroma.Object.FetcherTest do
{:ok, object} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
- assert activity = Activity.get_create_by_object_ap_id(object.data["id"])
- assert activity.data["id"]
+ assert _activity = Activity.get_create_by_object_ap_id(object.data["id"])
{:ok, object_again} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")