diff --git a/lib/tests/portfoliolib_test.php b/lib/tests/portfoliolib_test.php index a2a45e72f47..1d8a0517a64 100644 --- a/lib/tests/portfoliolib_test.php +++ b/lib/tests/portfoliolib_test.php @@ -24,6 +24,7 @@ */ defined('MOODLE_INTERNAL') || die(); +global $CFG; require_once($CFG->libdir.'/portfoliolib.php'); require_once($CFG->libdir.'/portfolio/formats.php');