summaryrefslogtreecommitdiff
path: root/test/object_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-09-13 16:31:27 +0200
committerlain <lain@soykaf.club>2019-09-13 16:31:27 +0200
commita7f31bf06cfe3f8e2549393f34d6573854d783c0 (patch)
treef53d6747ee73044f7b342d3fdae3d30b5b5b3c90 /test/object_test.exs
parentf649a2e972b70dfefb7bfc110b27a0194cda51c5 (diff)
parent0d9609894f4f4557da2db62a33da1b8995c9e1d7 (diff)
downloadpleroma-a7f31bf06cfe3f8e2549393f34d6573854d783c0.tar.gz
pleroma-a7f31bf06cfe3f8e2549393f34d6573854d783c0.zip
Merge remote-tracking branch 'origin/develop' into reactions
Diffstat (limited to 'test/object_test.exs')
-rw-r--r--test/object_test.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/object_test.exs b/test/object_test.exs
index d138ee091..ba96aeea4 100644
--- a/test/object_test.exs
+++ b/test/object_test.exs
@@ -53,9 +53,12 @@ defmodule Pleroma.ObjectTest do
assert object == cached_object
+ Cachex.put(:web_resp_cache, URI.parse(object.data["id"]).path, "cofe")
+
Object.delete(cached_object)
{:ok, nil} = Cachex.get(:object_cache, "object:#{object.data["id"]}")
+ {:ok, nil} = Cachex.get(:web_resp_cache, URI.parse(object.data["id"]).path)
cached_object = Object.get_cached_by_ap_id(object.data["id"])