summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIlja <ilja@ilja.space>2022-06-05 12:50:19 +0200
committerIlja <ilja@ilja.space>2022-06-21 12:10:27 +0200
commit4cb0dbb5dce93ebc6c638c99eab13d0d2c02667c (patch)
tree6439d641056671a24bfe637997d2565e6163045b /config
parentcbb26262a5957d3a72bef383a394bb3b2ad0215d (diff)
downloadpleroma-4cb0dbb5dce93ebc6c638c99eab13d0d2c02667c.tar.gz
pleroma-4cb0dbb5dce93ebc6c638c99eab13d0d2c02667c.zip
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.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions