Make sure event update notification email gets sent to anonymous

participants

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-08 08:53:25 +02:00
parent 9f9f58ce7d
commit f4b777c3d6
3 changed files with 31 additions and 12 deletions

View File

@@ -837,7 +837,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
assert_delivered_email(
Email.Event.event_updated(
user,
user.email,
actor,
event,
new_event,
@@ -847,7 +847,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
assert_delivered_email(
Email.Event.event_updated(
participant_user,
participant_user.email,
participant_actor,
event,
new_event,