Línea 20... |
Línea 20... |
20 |
* Course format actions class tests.
|
20 |
* Course format actions class tests.
|
21 |
*
|
21 |
*
|
22 |
* @package core_courseformat
|
22 |
* @package core_courseformat
|
23 |
* @copyright 2023 Ferran Recio <ferran@moodle.com>
|
23 |
* @copyright 2023 Ferran Recio <ferran@moodle.com>
|
24 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
24 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
25 |
* @coversDefaultClass \core_courseformat\base
|
25 |
* @coversDefaultClass \core_courseformat\formatactions
|
26 |
*/
|
26 |
*/
|
27 |
class formatactions_test extends \advanced_testcase {
|
27 |
final class formatactions_test extends \advanced_testcase {
|
Línea 28... |
Línea 28... |
28 |
|
28 |
|
29 |
/**
|
29 |
/**
|
30 |
* Setup to ensure that fixtures are loaded.
|
30 |
* Setup to ensure that fixtures are loaded.
|
31 |
*/
|
31 |
*/
|
32 |
public static function setUpBeforeClass(): void {
|
32 |
public static function setUpBeforeClass(): void {
|
33 |
global $CFG;
|
33 |
global $CFG;
|
34 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest.php');
|
34 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest.php');
|
35 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_courseactions.php');
|
35 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_courseactions.php');
|
36 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_sectionactions.php');
|
36 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_sectionactions.php');
|
- |
|
37 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_cmactions.php');
|
37 |
require_once($CFG->dirroot . '/course/format/tests/fixtures/format_theunittest_cmactions.php');
|
38 |
parent::setUpBeforeClass();
|
Línea 38... |
Línea 39... |
38 |
}
|
39 |
}
|
39 |
|
40 |
|
40 |
/**
|
41 |
/**
|