Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 31... Línea 31...
31
 
31
 
Línea 32... Línea 32...
32
global $CFG;
32
global $CFG;
Línea 33... Línea 33...
33
 
33
 
Línea 34... Línea 34...
34
require_once($CFG->dirroot.'/mod/lesson/locallib.php');
34
require_once($CFG->dirroot.'/mod/lesson/locallib.php');
35
 
35
 
Línea 36... Línea 36...
36
class events_test extends \advanced_testcase {
36
final class events_test extends \advanced_testcase {
Línea 45... Línea 45...
45
     * Test set up.
45
     * Test set up.
46
     *
46
     *
47
     * This is executed before running any test in this file.
47
     * This is executed before running any test in this file.
48
     */
48
     */
49
    public function setUp(): void {
49
    public function setUp(): void {
-
 
50
        parent::setUp();
50
        $this->resetAfterTest();
51
        $this->resetAfterTest();
Línea 51... Línea 52...
51
 
52
 
52
        $this->setAdminUser();
53
        $this->setAdminUser();
53
        $this->course = $this->getDataGenerator()->create_course();
54
        $this->course = $this->getDataGenerator()->create_course();