tests: fixup
This commit is contained in:
parent
ae8fa5d0aa
commit
a223e65f35
@ -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
|
||||||
|
@ -180,8 +180,8 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
|
|||||||
|
|
||||||
mocks = [
|
mocks = [
|
||||||
{
|
{
|
||||||
TwitterAPI,
|
Utils,
|
||||||
[],
|
[:passthrough],
|
||||||
[context_to_conversation_id: fn _ -> false end]
|
[context_to_conversation_id: fn _ -> false end]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user