X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Frepo_test.exs;h=daffc65427487492b2d5d4113f0889ece8648d9c;hb=9bae9b1b1bf4f48e20ce0b2d9b670648d052e069;hp=75e85f9742e01b008fa52de35efbd907e9a4c557;hpb=38f796a5c6f526c84c8e0cc2e838c453dd70802b;p=akkoma diff --git a/test/repo_test.exs b/test/repo_test.exs index 75e85f974..daffc6542 100644 --- a/test/repo_test.exs +++ b/test/repo_test.exs @@ -67,7 +67,7 @@ defmodule Pleroma.RepoTest do :ok end - clear_config([:i_am_aware_this_may_cause_data_loss, :disable_migration_check]) + setup do: clear_config([:i_am_aware_this_may_cause_data_loss, :disable_migration_check]) test "raises if it detects unapplied migrations" do assert_raise Pleroma.Repo.UnappliedMigrationsError, fn ->