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 setup %{conn: conn} do
group = insert(:group) group = insert(:group)
Mobilizon.Config.put([Mobilizon.Service.Notifier, :notifiers], [
Mobilizon.Service.Notifier.Email,
Mobilizon.Service.Notifier.Push
])
{:ok, conn: conn, group: group} {:ok, conn: conn, group: group}
end end