migrate to oban 2.0-rc1

This commit is contained in:
Maksim Pechnikov 2020-06-23 15:09:01 +03:00
commit a8d967762e
28 changed files with 72 additions and 69 deletions

View file

@ -1457,7 +1457,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert_enqueued(worker: Pleroma.Workers.BackgroundWorker, args: params)
Pleroma.Workers.BackgroundWorker.perform(params, nil)
Pleroma.Workers.BackgroundWorker.perform(%Oban.Job{args: params})
refute User.following?(follower, old_user)
assert User.following?(follower, new_user)