tests: fix up activity collision test
authorWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 03:16:50 +0000 (03:16 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 03:17:51 +0000 (03:17 +0000)
test/web/activity_pub/activity_pub_test.exs

index c11140f1c849c693bd24e8774dcc3baafbc28f9c..c8c3b6d5fa8081427e8fa45e67f7a5a4e6420f28 100644 (file)
@@ -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