First
[anni] / test / support / mocks.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 Mox.defmock(Pleroma.CachexMock, for: Pleroma.Caching)
6
7 Mox.defmock(Pleroma.Web.ActivityPub.ObjectValidatorMock,
8   for: Pleroma.Web.ActivityPub.ObjectValidator.Validating
9 )
10
11 Mox.defmock(Pleroma.Web.ActivityPub.MRFMock,
12   for: Pleroma.Web.ActivityPub.MRF.PipelineFiltering
13 )
14
15 Mox.defmock(Pleroma.Web.ActivityPub.ActivityPubMock,
16   for: [
17     Pleroma.Web.ActivityPub.ActivityPub.Persisting,
18     Pleroma.Web.ActivityPub.ActivityPub.Streaming
19   ]
20 )
21
22 Mox.defmock(Pleroma.Web.ActivityPub.SideEffectsMock,
23   for: Pleroma.Web.ActivityPub.SideEffects.Handling
24 )
25
26 Mox.defmock(Pleroma.Web.FederatorMock, for: Pleroma.Web.Federator.Publishing)
27
28 Mox.defmock(Pleroma.ConfigMock, for: Pleroma.Config.Getting)
29
30 Mox.defmock(Pleroma.LoggerMock, for: Pleroma.Logging)