Fix an activity test related to Notifier mock

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-04 10:01:12 +02:00
parent 96511ea4bc
commit 8d87cd12a9
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -13,6 +13,12 @@ defmodule Mobilizon.GraphQL.Resolvers.ActivityTest do
setup %{conn: conn} do
group = insert(:group)
Mobilizon.Config.put([Mobilizon.Service.Notifier, :notifiers], [
Mobilizon.Service.Notifier.Email,
Mobilizon.Service.Notifier.Push
])
{:ok, conn: conn, group: group}
end