Remove 'unlisted' handling for now.
[akkoma] / test / support / conn_case.ex
index 8d6969855fb4c91f9bc93132912bb7b61ea3db25..2e6707087f623d75c0c8ac3ef51e05608d83f91d 100644 (file)
@@ -26,13 +26,14 @@ defmodule Pleroma.Web.ConnCase do
     end
   end
 
-
   setup tags do
+    Cachex.clear(:user_cache)
     :ok = Ecto.Adapters.SQL.Sandbox.checkout(Pleroma.Repo)
+
     unless tags[:async] do
       Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, {:shared, self()})
     end
+
     {:ok, conn: Phoenix.ConnTest.build_conn()}
   end
-
 end