Improve Transmogrifier.upgrade_user_from_ap_id/2
- Use
User.update_and_set_cache/1
instead ofRepo.update/2
(disscussion) - Use
PleromaJobQue
instead ofTask
to runuser_upgrade_task/1
- Remove
:timer.sleep(1000)
from the corresponding test (PleromaJobQue
executes jobs in tests synchronously)