summaryrefslogtreecommitdiff
path: root/test/support/cachex_proxy.ex
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-03-08 12:12:55 +0100
committermarcin mikołajczak <git@mkljczk.pl>2024-03-08 12:12:55 +0100
commitc0c4a9ed0d3cd154de15a8bb0767e2d4e5f4900f (patch)
tree0641fb03061bd783a15d06633408da4aa7592e76 /test/support/cachex_proxy.ex
parent9fc6676d8c080dbd630434275363cc6536a35116 (diff)
parent139057f346f5903e0ed21ea91e7d43fd906fe914 (diff)
downloadpleroma-c0c4a9ed0d3cd154de15a8bb0767e2d4e5f4900f.tar.gz
pleroma-c0c4a9ed0d3cd154de15a8bb0767e2d4e5f4900f.zip
Merge remote-tracking branch 'origin/develop' into instance-contact-account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'test/support/cachex_proxy.ex')
-rw-r--r--test/support/cachex_proxy.ex6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/support/cachex_proxy.ex b/test/support/cachex_proxy.ex
index 83ae5610f..8f27986a9 100644
--- a/test/support/cachex_proxy.ex
+++ b/test/support/cachex_proxy.ex
@@ -27,9 +27,15 @@ defmodule Pleroma.CachexProxy do
defdelegate fetch!(cache, key, func), to: Cachex
@impl true
+ defdelegate fetch(cache, key, func), to: Cachex
+
+ @impl true
defdelegate expire_at(cache, str, num), to: Cachex
@impl true
+ defdelegate expire(cache, str, num), to: Cachex
+
+ @impl true
defdelegate exists?(cache, key), to: Cachex
@impl true