summaryrefslogtreecommitdiff
path: root/test/support/cachex_proxy.ex
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-02-22 11:59:15 +0100
committermarcin mikołajczak <git@mkljczk.pl>2024-02-22 21:05:20 +0100
commitc592a0e58d7207532f2f7be2fff788c9dc695fb5 (patch)
tree74477cba37813c549a05d692ae04c135793496a1 /test/support/cachex_proxy.ex
parentdef088ce520ffac3e200cbf63b049f1d918d2b79 (diff)
parentf0468697cd74f4ec062f9c6feda53cfbe9e4500c (diff)
downloadpleroma-c592a0e58d7207532f2f7be2fff788c9dc695fb5.tar.gz
pleroma-c592a0e58d7207532f2f7be2fff788c9dc695fb5.zip
Merge remote-tracking branch 'origin/develop' into HEAD
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