PublisherTest: Mock -> Mox

This commit is contained in:
Lain Soykaf 2025-09-05 15:04:33 +04:00
commit b023e1591c
7 changed files with 62 additions and 51 deletions

View file

@ -120,6 +120,11 @@ defmodule Pleroma.DataCase do
Mox.stub_with(Pleroma.DateTimeMock, Pleroma.DateTime.Impl)
Mox.stub_with(Pleroma.SignatureMock, Pleroma.Signature)
Mox.stub_with(
Pleroma.Web.ActivityPub.TransmogrifierMock,
Pleroma.Web.ActivityPub.Transmogrifier
)
end
def ensure_local_uploader(context) do