Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 23... Línea 23...
23
 * Base format actions class tests.
23
 * Base format actions class tests.
24
 *
24
 *
25
 * @package    core_courseformat
25
 * @package    core_courseformat
26
 * @copyright  2023 Ferran Recio <ferran@moodle.com>
26
 * @copyright  2023 Ferran Recio <ferran@moodle.com>
27
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
28
 * @coversDefaultClass \core_courseformat\base
28
 * @coversDefaultClass \core_courseformat\local\baseactions
29
 */
29
 */
30
class baseactions_test extends \advanced_testcase {
30
final class baseactions_test extends \advanced_testcase {
31
    /**
31
    /**
32
     * Setup to ensure that fixtures are loaded.
32
     * Setup to ensure that fixtures are loaded.
33
     */
33
     */
34
    public static function setUpBeforeClass(): void {
34
    public static function setUpBeforeClass(): void {
35
        global $CFG;
35
        global $CFG;
36
        require_once($CFG->dirroot . '/course/lib.php');
36
        require_once($CFG->dirroot . '/course/lib.php');
-
 
37
        parent::setUpBeforeClass();
37
    }
38
    }
Línea 38... Línea 39...
38
 
39
 
39
    /**
40
    /**
40
     * Get the reflection method for a base class instance.
41
     * Get the reflection method for a base class instance.