44d734147a
When running an adhoc task in a unit test we should use the cron variant of the set user method to mimic the behaviour of a real cron run.