akkoma/test/pleroma/web/admin_api/controllers
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
..
admin_api_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
chat_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
config_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instance_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instance_document_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
invite_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
media_proxy_cache_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
o_auth_app_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
relay_controller_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
status_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
user_controller_test.exs Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00