fetcher_test: Remove assert on fake Create having an ap_id

This commit is contained in:
Haelwenn (lanodan) Monnier 2021-03-25 10:17:26 +01:00
parent 53193b84b1
commit 6d6bef64bf
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with 1 additions and 2 deletions

View File

@ -132,8 +132,7 @@ test "it fetches an object" 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")