PublisherTest: Use mox instead of mock.

This commit is contained in:
Lain Soykaf 2025-09-05 14:18:12 +04:00
commit 3de250da23
7 changed files with 35 additions and 9 deletions

View file

@ -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