Fix tests for CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-09-21 08:32:42 +02:00
parent 151a7e54ae
commit 6a9fba7db8
20 changed files with 164 additions and 34 deletions

View File

@@ -568,7 +568,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PersonTest do
}
)
assert %{success: 1, snoozed: 0, failure: 0, discard: 0} ==
assert %{success: 1, snoozed: 0, failure: 0, discard: 0, cancelled: 0} ==
Oban.drain_queue(queue: :background)
query = """
@@ -769,7 +769,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PersonTest do
assert is_nil(res["errors"])
assert res["data"]["suspendProfile"]["id"] == to_string(remote_profile_id)
assert %{success: 1, snoozed: 0, failure: 0, discard: 0} ==
assert %{success: 1, snoozed: 0, failure: 0, discard: 0, cancelled: 0} ==
Oban.drain_queue(queue: :background)
res =