Make quarentine work with list of tuples instead of strings
This commit is contained in:
parent
dd947d9bc8
commit
27fe7b0274
5 changed files with 18 additions and 5 deletions
|
|
@ -271,7 +271,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
|
|||
Pleroma.Web.Federator.Publisher,
|
||||
[:passthrough],
|
||||
[] do
|
||||
Config.put([:instance, :quarantined_instances], ["domain.com"])
|
||||
Config.put([:instance, :quarantined_instances], [{"domain.com", "some reason"}])
|
||||
|
||||
follower =
|
||||
insert(:user, %{
|
||||
|
|
@ -308,7 +308,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
|
|||
Pleroma.Web.Federator.Publisher,
|
||||
[:passthrough],
|
||||
[] do
|
||||
Config.put([:instance, :quarantined_instances], ["somedomain.com"])
|
||||
Config.put([:instance, :quarantined_instances], [{"somedomain.com", "some reason"}])
|
||||
|
||||
follower =
|
||||
insert(:user, %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue