Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 36... Línea 36...
36
 * @package    core_xapi
36
 * @package    core_xapi
37
 * @since      Moodle 3.9
37
 * @since      Moodle 3.9
38
 * @copyright  2020 Ferran Recio
38
 * @copyright  2020 Ferran Recio
39
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
39
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
40
 */
40
 */
41
class item_group_test extends advanced_testcase {
41
final class item_group_test extends advanced_testcase {
Línea 42... Línea 42...
42
 
42
 
43
    /**
43
    /**
44
     * Test item creation.
44
     * Test item creation.
45
     */
45
     */
Línea 141... Línea 141...
141
    /**
141
    /**
142
     * Data provider for the test_invalid_data tests.
142
     * Data provider for the test_invalid_data tests.
143
     *
143
     *
144
     * @return  array
144
     * @return  array
145
     */
145
     */
146
    public function invalid_data_provider(): array {
146
    public static function invalid_data_provider(): array {
147
        return [
147
        return [
148
            'Wrong objecttype' => [
148
            'Wrong objecttype' => [
149
                'Invalid', true, true
149
                'Invalid', true, true
150
            ],
150
            ],
151
            'Wrong homepage' => [
151
            'Wrong homepage' => [