diff options
| author | Lain Soykaf <lain@lain.com> | 2025-02-23 17:52:33 +0400 | 
|---|---|---|
| committer | Lain Soykaf <lain@lain.com> | 2025-02-23 17:52:33 +0400 | 
| commit | 229ce66a8fdc7db626bdfee6a3a526ee028b510a (patch) | |
| tree | a6fcfb1b01754576ec8fe9c306d07e02d6f3df63 /test/support | |
| parent | 263b02ffcb661aafd495c2d533718378ff77f014 (diff) | |
| download | pleroma-229ce66a8fdc7db626bdfee6a3a526ee028b510a.tar.gz pleroma-229ce66a8fdc7db626bdfee6a3a526ee028b510a.zip | |
DataCase: By default, stub DateTime.
Diffstat (limited to 'test/support')
| -rw-r--r-- | test/support/data_case.ex | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/test/support/data_case.ex b/test/support/data_case.ex index 52d4bef1a..304bee5da 100644 --- a/test/support/data_case.ex +++ b/test/support/data_case.ex @@ -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 | 
