Update pattern matching for Oban.drain_queue following update

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-03-23 11:38:25 +01:00
parent 7067173a5a
commit 3d50f2d90d
7 changed files with 30 additions and 12 deletions

View File

@@ -385,7 +385,7 @@ defmodule Mobilizon.Web.Resolvers.GroupTest do
# Can't be used right now, probably because we try to run a transaction in a Oban Job while using Ecto Sandbox
# 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