projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'eliminate-test-errors' into 'develop'
[akkoma]
/
test
/
object_test.exs
diff --git
a/test/object_test.exs
b/test/object_test.exs
index d138ee0912e203a21169418a3375187d96555f2b..ba96aeea4d67ba793e5181fc9b1844bdf7daaa8e 100644
(file)
--- a/
test/object_test.exs
+++ b/
test/object_test.exs
@@
-53,9
+53,12
@@
defmodule Pleroma.ObjectTest do
assert object == cached_object
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"]}")
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"])
cached_object = Object.get_cached_by_ap_id(object.data["id"])