Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 34... Línea 34...
34
 * @package    core_xapi
34
 * @package    core_xapi
35
 * @since      Moodle 3.9
35
 * @since      Moodle 3.9
36
 * @copyright  2020 Ferran Recio
36
 * @copyright  2020 Ferran Recio
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 */
38
 */
39
class item_attachment_test extends advanced_testcase {
39
final class item_attachment_test extends advanced_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    /**
41
    /**
42
     * Test item creation.
42
     * Test item creation.
43
     */
43
     */
Línea 92... Línea 92...
92
    /**
92
    /**
93
     * Data provider for the test_invalid_values tests.
93
     * Data provider for the test_invalid_values tests.
94
     *
94
     *
95
     * @return  array
95
     * @return  array
96
     */
96
     */
97
    public function invalid_values_data(): array {
97
    public static function invalid_values_data(): array {
98
        return [
98
        return [
99
            'No usageType attachment' => [
99
            'No usageType attachment' => [
100
                'usageType', null
100
                'usageType', null
101
            ],
101
            ],
102
            'Invalid usageType attachment' => [
102
            'Invalid usageType attachment' => [