Adapt to new Oban result

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-09-29 20:28:03 +02:00
parent 327dfbb4c2
commit 81c319bdf8
7 changed files with 12 additions and 12 deletions

View File

@@ -519,7 +519,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PersonTest do
}
)
assert %{success: 1, failure: 0} == Oban.drain_queue(queue: :background)
assert %{success: 1, snoozed: 0, failure: 0} == Oban.drain_queue(queue: :background)
query = """
{
@@ -719,7 +719,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, failure: 0} == Oban.drain_queue(queue: :background)
assert %{success: 1, snoozed: 0, failure: 0} == Oban.drain_queue(queue: :background)
res =
conn