Tests: Use NullCache for async tests.
[akkoma] / test / support / mocks.ex
diff --git a/test/support/mocks.ex b/test/support/mocks.ex
new file mode 100644 (file)
index 0000000..d790553
--- /dev/null
@@ -0,0 +1,5 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+Mox.defmock(Pleroma.CachexMock, for: Pleroma.Caching)