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