From: Egor Kislitsyn Date: Fri, 24 May 2019 14:41:11 +0000 (+0700) Subject: Fix tests X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a7affbdd6d46caddea05ee6b34e0b2a24a62e721;p=akkoma Fix tests --- diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 5d0d5a40e..23b11d015 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -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