PublisherTest: Use mox instead of mock.
This commit is contained in:
parent
ae0c0260fd
commit
3de250da23
7 changed files with 35 additions and 9 deletions
|
|
@ -119,6 +119,7 @@ defmodule Pleroma.DataCase do
|
|||
Mox.stub_with(Pleroma.StubbedHTTPSignaturesMock, Pleroma.Test.HTTPSignaturesProxy)
|
||||
|
||||
Mox.stub_with(Pleroma.DateTimeMock, Pleroma.DateTime.Impl)
|
||||
Mox.stub_with(Pleroma.SignatureMock, Pleroma.Signature)
|
||||
end
|
||||
|
||||
def ensure_local_uploader(context) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue