mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-03-12 22:52:41 +00:00
DataCase: By default, stub DateTime.
This commit is contained in:
parent
263b02ffcb
commit
229ce66a8f
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ defmodule Pleroma.DataCase do
|
|||
Mox.stub_with(Pleroma.ConfigMock, Pleroma.Config)
|
||||
Mox.stub_with(Pleroma.StaticStubbedConfigMock, Pleroma.Test.StaticConfig)
|
||||
Mox.stub_with(Pleroma.StubbedHTTPSignaturesMock, Pleroma.Test.HTTPSignaturesProxy)
|
||||
|
||||
Mox.stub_with(Pleroma.DateTimeMock, Pleroma.DateTime.Impl)
|
||||
end
|
||||
|
||||
def ensure_local_uploader(context) do
|
||||
|
|
Loading…
Reference in a new issue