tests: fixup

This commit is contained in:
William Pitcock 2019-03-21 23:37:00 +00:00
parent ae8fa5d0aa
commit a223e65f35
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
defmodule Pleroma.Web.CommonAPI.UtilsTest do defmodule Pleroma.Web.CommonAPI.UtilsTest do
alias Pleroma.Builders.UserBuilder alias Pleroma.Builders.UserBuilder
alias Pleroma.Object
alias Pleroma.Web.CommonAPI.Utils alias Pleroma.Web.CommonAPI.Utils
alias Pleroma.Web.Endpoint alias Pleroma.Web.Endpoint
use Pleroma.DataCase use Pleroma.DataCase

View file

@ -180,8 +180,8 @@ test "a list of activities" do
mocks = [ mocks = [
{ {
TwitterAPI, Utils,
[], [:passthrough],
[context_to_conversation_id: fn _ -> false end] [context_to_conversation_id: fn _ -> false end]
}, },
{ {