MDL-38212 fix related unit tests.
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 12 Mar 2013 18:35:16 +0000 (19:35 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 12 Mar 2013 18:35:16 +0000 (19:35 +0100)
commit613eebfc6ab3160e61bc06650d987cc35416ee91
tree0897c549b3ac9750088adb16e7261cbe30196d7d
parentcedc656bdd5b68bbdc464e5eb5cc29f1fa56d8a5
MDL-38212 fix related unit tests.

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.
lib/pluginlib.php
lib/tests/statslib_test.php