Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
    /**
38
    /**
39
     * Test the behaviour of copy_content() for users with permission.
39
     * Test the behaviour of copy_content() for users with permission.
40
     *
40
     *
41
     * @covers ::execute
41
     * @covers ::execute
42
     */
42
     */
43
    public function test_copy_content_with_permission() {
43
    public function test_copy_content_with_permission(): void {
44
        global $CFG, $DB;
44
        global $CFG, $DB;
45
        $this->resetAfterTest();
45
        $this->resetAfterTest();
Línea 46... Línea 46...
46
 
46
 
47
        // Create users.
47
        // Create users.
Línea 82... Línea 82...
82
    /**
82
    /**
83
     * Test the behaviour of copy_content() for users with and without permission.
83
     * Test the behaviour of copy_content() for users with and without permission.
84
     *
84
     *
85
     * @covers ::execute
85
     * @covers ::execute
86
     */
86
     */
87
    public function test_copy_content() {
87
    public function test_copy_content(): void {
88
        global $CFG, $DB;
88
        global $CFG, $DB;
89
        $this->resetAfterTest();
89
        $this->resetAfterTest();
Línea 90... Línea 90...
90
 
90
 
91
        // Create users.
91
        // Create users.