aboutsummaryrefslogtreecommitdiff
path: root/test/support/mocks.ex
AgeCommit message (Collapse)Author
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.