fix for sometimes failing tests

This commit is contained in:
Alexander Strizhakov 2020-08-19 12:57:29 +03:00
commit c68bcae362
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 6 additions and 2 deletions

View file

@ -16,6 +16,8 @@ defmodule Mix.Tasks.Pleroma.EmailTest do
:ok
end
setup do: clear_config([Pleroma.Emails.Mailer, :enabled], true)
describe "pleroma.email test" do
test "Sends test email with no given address" do
mail_to = Config.get([:instance, :email])