tests: fixup
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 21 Mar 2019 23:37:00 +0000 (23:37 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 21 Mar 2019 23:56:57 +0000 (23:56 +0000)
test/web/common_api/common_api_utils_test.exs
test/web/twitter_api/views/activity_view_test.exs

index d095762ab3924e139d6a0039eb190fceded8de9b..e04b9f9b53e3a51ba0c5ee8abf1352ca90cb6df0 100644 (file)
@@ -4,6 +4,7 @@
 
 defmodule Pleroma.Web.CommonAPI.UtilsTest do
   alias Pleroma.Builders.UserBuilder
+  alias Pleroma.Object
   alias Pleroma.Web.CommonAPI.Utils
   alias Pleroma.Web.Endpoint
   use Pleroma.DataCase
index ed18a60a3be0d6eb67642b97652ef1689cdd7fd0..a1776b3e6ccc084cbec8c54404c82200fd2aa2c2 100644 (file)
@@ -180,8 +180,8 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
 
     mocks = [
       {
-        TwitterAPI,
-        [],
+        Utils,
+        [:passthrough],
         [context_to_conversation_id: fn _ -> false end]
       },
       {