Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 34... Línea 34...
34
 * @category   external
34
 * @category   external
35
 * @copyright  2015 Juan Leyva <juan@moodle.com>
35
 * @copyright  2015 Juan Leyva <juan@moodle.com>
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @since      Moodle 3.0
37
 * @since      Moodle 3.0
38
 */
38
 */
39
class lib_test extends \advanced_testcase {
39
final class lib_test extends \advanced_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    /**
41
    /**
42
     * Prepares things before this test case is initialised
42
     * Prepares things before this test case is initialised
43
     * @return void
43
     * @return void
44
     */
44
     */
45
    public static function setUpBeforeClass(): void {
45
    public static function setUpBeforeClass(): void {
46
        global $CFG;
46
        global $CFG;
-
 
47
        require_once($CFG->dirroot . '/mod/lti/lib.php');
47
        require_once($CFG->dirroot . '/mod/lti/lib.php');
48
        parent::setUpBeforeClass();
Línea 48... Línea 49...
48
    }
49
    }
49
 
50
 
50
    /**
51
    /**