From: William Pitcock Date: Sat, 23 Mar 2019 03:16:50 +0000 (+0000) Subject: tests: fix up activity collision test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4a3dd86a55ca781e6a01d5e94da95264b0ee343d;p=akkoma tests: fix up activity collision test --- diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index c11140f1c..c8c3b6d5f 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -140,7 +140,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do activity = insert(:note_activity) {:ok, new_activity} = ActivityPub.insert(activity.data) - assert activity == new_activity + assert activity.id == new_activity.id end test "inserts a given map into the activity database, giving it an id if it has none." do