fix tests
authorstwf <steven.fuchs@dockyard.com>
Mon, 15 Jun 2020 16:25:03 +0000 (12:25 -0400)
committerstwf <steven.fuchs@dockyard.com>
Mon, 15 Jun 2020 16:25:03 +0000 (12:25 -0400)
lib/pleroma/web/preload/timelines.ex
test/web/node_info_test.exs

index 2bb57567bbc7e92dbbd801a0cf51b2d6795131ea..e531b8960e1bbf7e2663dd5363f8f88e2d7e4f06 100644 (file)
@@ -30,8 +30,8 @@ defmodule Pleroma.Web.Preload.Providers.Timelines do
   defp get_public_timeline(local_only) do
     activities =
       ActivityPub.fetch_public_activities(%{
-        "type" => ["Create"],
-        "local_only" => local_only
+        type: ["Create"],
+        local_only: local_only
       })
 
     StatusView.render("index.json", activities: activities, for: nil, as: :activity)
index 00925caad9b14344ca24b621059137118df2daff..9bcc07b37c50f2a240b28b29bc5e47eb363ebbc4 100644 (file)
@@ -145,8 +145,7 @@ defmodule Pleroma.Web.NodeInfoTest do
       "shareable_emoji_packs",
       "multifetch",
       "pleroma_emoji_reactions",
-      "pleroma:api/v1/notifications:include_types_filter",
-      "pleroma_chat_messages"
+      "pleroma:api/v1/notifications:include_types_filter"
     ]
 
     assert MapSet.subset?(