logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 229ce66a8fdc7db626bdfee6a3a526ee028b510a
parent 263b02ffcb661aafd495c2d533718378ff77f014
Author: Lain Soykaf <lain@lain.com>
Date:   Sun, 23 Feb 2025 17:52:33 +0400

DataCase: By default, stub DateTime.

Diffstat:

Mtest/support/data_case.ex2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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