613eebfc6a
For statslib tests was enough to require cronlib.php as far as all the tests there are using ob-capture / output expectations, so the new function does not bork anything. For pluginlib tests finally the use was deleted because it's a part of cron not interesting (should be always "cheap") and to keep it there we should be adding a bunch of output expectations under some cases, for practically nothing.