Add group admin profiles

And other fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-08-27 11:53:24 +02:00
parent 8afda73214
commit 1984f71cbf
107 changed files with 3514 additions and 1146 deletions

View File

@@ -367,7 +367,13 @@ defmodule Mobilizon.ActorsTest do
assert_enqueued(
worker: Workers.Background,
args: %{"actor_id" => actor.id, "op" => "delete_actor", "reserve_username" => true}
args: %{
"actor_id" => actor.id,
"op" => "delete_actor",
"author_id" => nil,
"suspension" => false,
"reserve_username" => true
}
)
assert %{success: 1, failure: 0} == Oban.drain_queue(queue: :background)