Proyectos de Subversion Moodle

Rev

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

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