From: Haelwenn (lanodan) Monnier Date: Thu, 25 Mar 2021 09:17:26 +0000 (+0100) Subject: fetcher_test: Remove assert on fake Create having an ap_id X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6d6bef64bf3b37457b71cf7025e84aa9017a3b86;p=akkoma fetcher_test: Remove assert on fake Create having an ap_id --- diff --git a/test/pleroma/object/fetcher_test.exs b/test/pleroma/object/fetcher_test.exs index 8d9c6c3cb..bd0a6e497 100644 --- 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")