diff options
| author | lain <lain@soykaf.club> | 2020-08-05 17:26:03 +0200 | 
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-08-05 17:26:03 +0200 | 
| commit | 2173945f9012ec0db82a73fc7ed9423899dfd28f (patch) | |
| tree | 88ebe2f5c0170f3664356344ddb9c29f1fb9a7e9 /test/emails | |
| parent | 5221879c358a7859d54013597c9ed9ccbb494155 (diff) | |
| download | pleroma-2173945f9012ec0db82a73fc7ed9423899dfd28f.tar.gz pleroma-2173945f9012ec0db82a73fc7ed9423899dfd28f.zip | |
MailerTest: Give it some time.
Diffstat (limited to 'test/emails')
| -rw-r--r-- | test/emails/mailer_test.exs | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/test/emails/mailer_test.exs b/test/emails/mailer_test.exs index e6e34cba8..3da45056b 100644 --- a/test/emails/mailer_test.exs +++ b/test/emails/mailer_test.exs @@ -19,6 +19,7 @@ defmodule Pleroma.Emails.MailerTest do    test "not send email when mailer is disabled" do      Pleroma.Config.put([Pleroma.Emails.Mailer, :enabled], false)      Mailer.deliver(@email) +    :timer.sleep(100)      refute_email_sent(        from: {"Pleroma", "noreply@example.com"}, @@ -30,6 +31,7 @@ defmodule Pleroma.Emails.MailerTest do    test "send email" do      Mailer.deliver(@email) +    :timer.sleep(100)      assert_email_sent(        from: {"Pleroma", "noreply@example.com"}, @@ -41,6 +43,7 @@ defmodule Pleroma.Emails.MailerTest do    test "perform" do      Mailer.perform(:deliver_async, @email, []) +    :timer.sleep(100)      assert_email_sent(        from: {"Pleroma", "noreply@example.com"}, | 
