Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 37... Línea 37...
37
 *
37
 *
38
 * @package    core_backup
38
 * @package    core_backup
39
 * @copyright  2019 John Yao <johnyao@catalyst-au.net>
39
 * @copyright  2019 John Yao <johnyao@catalyst-au.net>
40
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
40
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
41
 */
41
 */
42
class automated_backup_test extends \advanced_testcase {
42
final class automated_backup_test extends \advanced_testcase {
43
    /**
43
    /**
44
     * @var \backup_cron_automated_helper
44
     * @var \backup_cron_automated_helper
45
     */
45
     */
46
    protected $backupcronautomatedhelper;
46
    protected $backupcronautomatedhelper;
Línea 50... Línea 50...
50
     */
50
     */
51
    protected $course;
51
    protected $course;
Línea 52... Línea 52...
52
 
52
 
53
    protected function setUp(): void {
53
    protected function setUp(): void {
-
 
54
        global $DB, $CFG;
Línea 54... Línea 55...
54
        global $DB, $CFG;
55
        parent::setUp();
55
 
56
 
56
        $this->resetAfterTest(true);
57
        $this->resetAfterTest(true);
57
        $this->setAdminUser();
58
        $this->setAdminUser();