projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bbs: chase timeline containment patch
[akkoma]
/
test
/
support
/
data_case.ex
diff --git
a/test/support/data_case.ex
b/test/support/data_case.ex
index 53e7234d2759d237556c23c61a487cdc07b9e5a5..df260bd3f9794dbd9d6f7470505cec5cbaf4eaf8 100644
(file)
--- a/
test/support/data_case.ex
+++ b/
test/support/data_case.ex
@@
-1,3
+1,7
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.DataCase do
@moduledoc """
This module defines the setup for tests requiring
defmodule Pleroma.DataCase do
@moduledoc """
This module defines the setup for tests requiring
@@
-28,6
+32,7
@@
defmodule Pleroma.DataCase do
setup tags do
Cachex.clear(:user_cache)
setup tags do
Cachex.clear(:user_cache)
+ Cachex.clear(:object_cache)
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Pleroma.Repo)
unless tags[:async] do
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Pleroma.Repo)
unless tags[:async] do