Tests: Remove unneeded explicit cachex use.
Only use cachex when we're actually testing it.
This commit is contained in:
parent
c1129ff674
commit
b4b68b71fc
17 changed files with 10 additions and 47 deletions
|
|
@ -159,7 +159,7 @@ defmodule Pleroma.Web.ActivityPub.VisibilityTest do
|
|||
user: user
|
||||
} do
|
||||
Repo.delete(user)
|
||||
Cachex.clear(:user_cache)
|
||||
Pleroma.User.invalidate_cache(user)
|
||||
refute Visibility.is_private?(direct)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue