aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-03-21 23:37:00 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-03-21 23:56:57 +0000
commita223e65f35da158ef79f05f65316920dcecaa54b (patch)
treea847bb70d52da43b2f0cca45f7ea49cb4e664c5a
parentae8fa5d0aab3561bf66506766e2beb03a251e499 (diff)
downloadpleroma-a223e65f35da158ef79f05f65316920dcecaa54b.tar.gz
tests: fixup
-rw-r--r--test/web/common_api/common_api_utils_test.exs1
-rw-r--r--test/web/twitter_api/views/activity_view_test.exs4
2 files changed, 3 insertions, 2 deletions
diff --git a/test/web/common_api/common_api_utils_test.exs b/test/web/common_api/common_api_utils_test.exs
index d095762ab..e04b9f9b5 100644
--- a/test/web/common_api/common_api_utils_test.exs
+++ b/test/web/common_api/common_api_utils_test.exs
@@ -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
diff --git a/test/web/twitter_api/views/activity_view_test.exs b/test/web/twitter_api/views/activity_view_test.exs
index ed18a60a3..a1776b3e6 100644
--- a/test/web/twitter_api/views/activity_view_test.exs
+++ b/test/web/twitter_api/views/activity_view_test.exs
@@ -180,8 +180,8 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
mocks = [
{
- TwitterAPI,
- [],
+ Utils,
+ [:passthrough],
[context_to_conversation_id: fn _ -> false end]
},
{