MDL-45699 behat: Don't use behat/lib.php functions in core.
commite9b36ac653e8acd1670267df451b22d7eb94561f
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 23 Dec 2014 11:29:44 +0000 (23 12:29 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 23 Dec 2014 12:28:46 +0000 (23 13:28 +0100)
treedf6595beffaf03d29f33bab3967d549934ad8c6d
parentdb5fb4ce769daae3c874c1902101e4344c7cbc35
MDL-45699 behat: Don't use behat/lib.php functions in core.

behat/lib.php script should not be usually included, neither any of its functions
used within mooodle code at all. It's for exclusive use of behat and
moodle setup.php. For places requiring a different/special behavior
needing to check if are being run  as part of behat tests, use:
    if (defined('BEHAT_SITE_RUNNING')) { ...
cache/classes/factory.php
lib/behat/lib.php