diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-14 16:11:44 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-14 16:11:44 +0300 |
commit | 6bcedb693c47fcef44ff3b4412629d1c50c2a1c7 (patch) | |
tree | 0420581ba993b70cb957c261cb83ef90597ddeb4 /test/object_test.exs | |
parent | c3f00447afc67b460e63b531e4f2432bfaa37bdb (diff) | |
parent | a9b78f55e3561eec3cd125f030d2dd6ec338d406 (diff) | |
download | pleroma-6bcedb693c47fcef44ff3b4412629d1c50c2a1c7.tar.gz pleroma-6bcedb693c47fcef44ff3b4412629d1c50c2a1c7.zip |
[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
# Conflicts:
# docs/config.md
# mix.lock
Diffstat (limited to 'test/object_test.exs')
-rw-r--r-- | test/object_test.exs | 3 |
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"]) |