akkoma/test/pleroma
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
..
activity Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bbs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config Copyright bump for 2022 2022-02-25 23:11:42 -07:00
conversation Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ecto_type/activity_pub/object_validators Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emails Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
emoji Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances Copyright bump for 2022 2022-02-25 23:11:42 -07:00
integration Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migration_helper Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object Copyright bump for 2022 2022-02-25 23:11:42 -07:00
password Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo/migrations Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload Copyright bump for 2022 2022-02-25 23:11:42 -07:00
uploaders Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web Mark relevant tests synchronous 2022-06-21 12:10:27 +02:00
workers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
application_requirements_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bookmark_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_db_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
conversation_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
filter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
following_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
formatter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
hashtag_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
healthcheck_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
html_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
job_queue_monitor_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
keys_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
list_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
marker_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
moderation_log_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
notification_test.exs Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop' 2022-03-20 18:13:19 +00:00
object_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
otp_version_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pagination_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
registration_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_note_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
runtime_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
safe_jsonb_set_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
scheduled_activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
signature_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
stats_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_invite_token_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_search_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_test.exs Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop' 2022-03-20 18:13:19 +00:00
utils_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml_builder_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00