summaryrefslogtreecommitdiff
path: root/test/support/cachex_proxy.ex
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-02-07 05:47:38 +0000
committerfeld <feld@feld.me>2024-02-07 05:47:38 +0000
commit72480e7b2fc19beaa8a0a524e8b1c83442debd01 (patch)
tree22df6edc6f1ad0919825efcebdb92a3af2d43a30 /test/support/cachex_proxy.ex
parente9573627792df4cdaea15f1ca1563594f477cd8e (diff)
parent9f2319e50dc0516bde4bfa3b117ec4792e553bd2 (diff)
downloadpleroma-72480e7b2fc19beaa8a0a524e8b1c83442debd01.tar.gz
pleroma-72480e7b2fc19beaa8a0a524e8b1c83442debd01.zip
Merge branch 'rich-media-tests' into 'develop'
Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths See merge request pleroma/pleroma!4053
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