summaryrefslogtreecommitdiff
path: root/test/support/cachex_proxy.ex
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-03-18 13:50:25 +0100
committermarcin mikołajczak <git@mkljczk.pl>2024-03-18 13:50:25 +0100
commit918c406a914d49b15beb3611e1c780d0e0d253cd (patch)
treef54000d2e2f19ad97c75f71f443cff6b9810f5ca /test/support/cachex_proxy.ex
parent90b442727e4e2e56b4b68a15172a5ef7516531df (diff)
parentcf0aa1238ccd137219253d76355f2dc0f89679ac (diff)
downloadpleroma-918c406a914d49b15beb3611e1c780d0e0d253cd.tar.gz
pleroma-918c406a914d49b15beb3611e1c780d0e0d253cd.zip
Merge remote-tracking branch 'origin/develop' into instance_rules
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