combo fixes

This commit is contained in:
Alexander Strizhakov 2020-09-08 17:29:28 +03:00 committed by Haelwenn (lanodan) Monnier
parent fd7e9bdd25
commit 87d2805791
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ defmodule Pleroma.Stats do
@impl true
def init(_args) do
if Pleroma.Config.get(:env) == :test, do: :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo)
{:ok, nil, {:continue, :calculate_stats}}
end