diff options
| author | lain <lain@soykaf.club> | 2020-08-19 14:10:11 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-08-19 14:10:11 +0200 |
| commit | 9aae342e7a599c14dbe543a60db9626cba0d8371 (patch) | |
| tree | 073a5d666d1064ee941a9df22dc04c421599d777 /test/emails | |
| parent | 5316e231b0b007ce05bc1bffdf6ce0244749fb9e (diff) | |
| parent | 5054a6aa9a6f29ad1e2c51710265f75f1324acf8 (diff) | |
| download | pleroma-9aae342e7a599c14dbe543a60db9626cba0d8371.tar.gz pleroma-9aae342e7a599c14dbe543a60db9626cba0d8371.zip | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/validators-audio2
Diffstat (limited to 'test/emails')
| -rw-r--r-- | test/emails/mailer_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/emails/mailer_test.exs b/test/emails/mailer_test.exs index 3da45056b..9e232d2a0 100644 --- a/test/emails/mailer_test.exs +++ b/test/emails/mailer_test.exs @@ -14,10 +14,10 @@ defmodule Pleroma.Emails.MailerTest do subject: "Pleroma test email", to: [{"Test User", "user1@example.com"}] } - setup do: clear_config([Pleroma.Emails.Mailer, :enabled]) + setup do: clear_config([Pleroma.Emails.Mailer, :enabled], true) test "not send email when mailer is disabled" do - Pleroma.Config.put([Pleroma.Emails.Mailer, :enabled], false) + clear_config([Pleroma.Emails.Mailer, :enabled], false) Mailer.deliver(@email) :timer.sleep(100) |
