Update pattern matching for Oban.drain_queue following update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -519,7 +519,8 @@ defmodule Mobilizon.GraphQL.Resolvers.PersonTest do
|
||||
}
|
||||
)
|
||||
|
||||
assert %{success: 1, snoozed: 0, failure: 0} == Oban.drain_queue(queue: :background)
|
||||
assert %{success: 1, snoozed: 0, failure: 0, discard: 0} ==
|
||||
Oban.drain_queue(queue: :background)
|
||||
|
||||
query = """
|
||||
{
|
||||
@@ -719,7 +720,8 @@ 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} == Oban.drain_queue(queue: :background)
|
||||
assert %{success: 1, snoozed: 0, failure: 0, discard: 0} ==
|
||||
Oban.drain_queue(queue: :background)
|
||||
|
||||
res =
|
||||
conn
|
||||
|
||||
Reference in New Issue
Block a user