pleroma/test/pleroma/web/admin_api
Ilja 4cb0dbb5dc Mark relevant tests synchronous
One of the things we do during the tests is change the config. But that's global state and different tests were interfering.
E.g. one test would set `clear_config([:instance, :admin_privileges], [:statuses_read])`, but while that runs, another test may
do `clear_config([:instance, :admin_privileges], [:user_invite])`. Now the code for the first test checks the setting, and it
finds `:user_invite` instead of `:statuses_read`.

Now the modules where this happens are marked to run synchronously, so they don't interfere with each other.
2022-06-21 12:10:27 +02:00
..
controllers Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
views Copyright bump for 2022 2022-02-25 23:11:42 -07:00
search_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00