Fix tests
authorEgor Kislitsyn <egor@kislitsyn.com>
Fri, 24 May 2019 14:41:11 +0000 (21:41 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Fri, 24 May 2019 14:41:11 +0000 (21:41 +0700)
test/web/activity_pub/activity_pub_test.exs

index 5d0d5a40e4c30aeaed1e8053bb87396995c93ef8..23b11d0153129462ca2915d70c56941a5747353e 100644 (file)
@@ -1193,6 +1193,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
       CommonAPI.post(user, %{"status" => "foobar", "visibility" => "list:#{list.id}"})
 
     activity = Repo.preload(activity, :bookmark)
+    activity = %Activity{activity | thread_muted?: !!activity.thread_muted?}
 
     assert ActivityPub.fetch_activities([], %{"user" => user}) == [activity]
   end