fetcher_test: Remove assert on fake Create having an ap_id
[akkoma] / test / pleroma / object / fetcher_test.exs
index 8d9c6c3cb7cfc75f93aa739b1e3c262802fa542c..bd0a6e497617bad3933654326b0017116d3edac7 100644 (file)
@@ -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")