Merge branch 'feature/sitemap' into 'master'

Introduce sitemap and upgrade oban

See merge request framasoft/mobilizon!538
This commit is contained in:
Thomas Citharel
2020-08-12 16:36:37 +02:00
31 changed files with 251 additions and 109 deletions

View File

@@ -861,7 +861,7 @@ defmodule Mobilizon.Federation.ActivityPub.TransmogrifierTest do
end)
{:ok, _activity, _actor} = Transmogrifier.handle_incoming(data)
assert %{success: 1, failure: 0} == Oban.drain_queue(:background)
assert %{success: 1, failure: 0} == Oban.drain_queue(queue: :background)
assert {:error, :actor_not_found} = Actors.get_actor_by_url(url)
assert {:error, :event_not_found} = Events.get_event(event1.id)