Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 34... Línea 34...
34
class course_test extends \basic_testcase {
34
class course_test extends \basic_testcase {
Línea 35... Línea 35...
35
 
35
 
36
    /**
36
    /**
37
     * Test constructor supports all declared attributes.
37
     * Test constructor supports all declared attributes.
38
     */
38
     */
39
    public function test_constructor_attributes() {
39
    public function test_constructor_attributes(): void {
40
        $attributes = [
40
        $attributes = [
41
            'exclude' => [1, 2],
41
            'exclude' => [1, 2],
42
            'requiredcapabilities' => ['moodle/course:update'],
42
            'requiredcapabilities' => ['moodle/course:update'],