summaryrefslogtreecommitdiff
path: root/test/support/mocks.ex
AgeCommit message (Collapse)Author
2024-07-23Refactor tests for BackupsMark Felder
2024-05-28HTTPSignaturePlugTest: Rewrite to use mox.Lain Soykaf
2023-12-12Tests: More test fixesLain Soykaf
2023-12-11S3 Test: Remove global state dependenciesLain Soykaf
2023-12-10Backup Tests: Split out async tests, use mox.Lain Soykaf
2023-11-12B Getting: Add default implementation, delegate, prepare test support.Lain Soykaf
2022-02-25Copyright bump for 2022Sean King
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04SideEffects.DeleteTest: asyncify.lain
Replace Mock with Mox, mock out Logger.
2020-12-21Pipeline test: Switch from Mock to Mox.lain
Speeds up the test and makes it possible to run async.
2020-12-18Tests: Use NullCache for async tests.lain
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test.