Add tests for setting `:instance, :quarantined_instances`
authorIlja <domainepublic@spectraltheorem.be>
Fri, 25 Sep 2020 21:36:19 +0000 (23:36 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 6 Aug 2021 05:59:52 +0000 (07:59 +0200)
commitdd947d9bc8320ec828df97353733bed4d4e2b5b8
tree5307620447b17b91d401e352ee7eea656f963ce6
parent4ba0beb60ccdc301f455c32773a3144b9448b2fb
Add tests for setting `:instance, :quarantined_instances`

No test was done for quarantined instances yet. I added a factory for followers_only notes and checked
* That no followers only post is send when the target server is quarantined
* That a followers only post is send when the target server is not quarantined
test/pleroma/web/activity_pub/publisher_test.exs
test/support/factory.ex