logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/

mocks.ex (1211B)


  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. Mox.defmock(Pleroma.CachexMock, for: Pleroma.Caching)
  5. Mox.defmock(Pleroma.Web.ActivityPub.ObjectValidatorMock,
  6. for: Pleroma.Web.ActivityPub.ObjectValidator.Validating
  7. )
  8. Mox.defmock(Pleroma.Web.ActivityPub.MRFMock,
  9. for: Pleroma.Web.ActivityPub.MRF.PipelineFiltering
  10. )
  11. Mox.defmock(Pleroma.Web.ActivityPub.ActivityPubMock,
  12. for: [
  13. Pleroma.Web.ActivityPub.ActivityPub.Persisting,
  14. Pleroma.Web.ActivityPub.ActivityPub.Streaming
  15. ]
  16. )
  17. Mox.defmock(Pleroma.Web.ActivityPub.SideEffectsMock,
  18. for: Pleroma.Web.ActivityPub.SideEffects.Handling
  19. )
  20. Mox.defmock(Pleroma.Web.FederatorMock, for: Pleroma.Web.Federator.Publishing)
  21. Mox.defmock(Pleroma.ConfigMock, for: Pleroma.Config.Getting)
  22. Mox.defmock(Pleroma.UnstubbedConfigMock, for: Pleroma.Config.Getting)
  23. Mox.defmock(Pleroma.StaticStubbedConfigMock, for: Pleroma.Config.Getting)
  24. Mox.defmock(Pleroma.StubbedHTTPSignaturesMock, for: Pleroma.HTTPSignaturesAPI)
  25. Mox.defmock(Pleroma.LoggerMock, for: Pleroma.Logging)
  26. Mox.defmock(Pleroma.Uploaders.S3.ExAwsMock, for: Pleroma.Uploaders.S3.ExAwsAPI)