Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 40... Línea 40...
40
 * @package   core_backup
40
 * @package   core_backup
41
 * @category  test
41
 * @category  test
42
 * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
42
 * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
43
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
43
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
44
 */
44
 */
45
class controller_test extends \advanced_testcase {
45
final class controller_test extends \advanced_testcase {
Línea 46... Línea 46...
46
 
46
 
47
    protected $moduleid;  // course_modules id used for testing
47
    protected $moduleid;  // course_modules id used for testing
48
    protected $sectionid; // course_sections id used for testing
48
    protected $sectionid; // course_sections id used for testing
49
    protected $courseid;  // course id used for testing
49
    protected $courseid;  // course id used for testing
Línea 50... Línea 50...
50
    protected $userid;    // user used if for testing
50
    protected $userid;    // user used if for testing
51
 
51
 
-
 
52
    protected function setUp(): void {
Línea 52... Línea 53...
52
    protected function setUp(): void {
53
        global $DB, $CFG;
Línea 53... Línea 54...
53
        global $DB, $CFG;
54
        parent::setUp();
54
 
55