forked from potsda.mn/mobilizon
test(backend): fix legacy notifier test assert
We can't refute something right after asserting it before, unfortunately Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
28430d6d57
commit
67314928e0
|
@ -427,7 +427,8 @@ defmodule Mobilizon.Service.Workers.LegacyNotifierBuilderTest do
|
|||
|
||||
assert_email_sending(%Swoosh.Email{to: [{"", "anon@mou.se"}]}, 10_000)
|
||||
refute_email_sent(%Swoosh.Email{to: [{"", "user2@do.main"}]})
|
||||
refute_email_sent(%Swoosh.Email{to: [{"", "anon@mou.se"}]})
|
||||
# Because of timeouts, can't do that currently
|
||||
# refute_email_sent(%Swoosh.Email{to: [{"", "anon@mou.se"}]})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue