4cb0dbb5dc
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. |
||
---|---|---|
.. | ||
admin_api_controller_test.exs | ||
chat_controller_test.exs | ||
config_controller_test.exs | ||
frontend_controller_test.exs | ||
instance_controller_test.exs | ||
instance_document_controller_test.exs | ||
invite_controller_test.exs | ||
media_proxy_cache_controller_test.exs | ||
o_auth_app_controller_test.exs | ||
relay_controller_test.exs | ||
report_controller_test.exs | ||
status_controller_test.exs | ||
user_controller_test.exs |