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
 * @category   external
31
 * @category   external
32
 * @copyright  2022 Amaia Anabitarte <amaia@moodle.com>
32
 * @copyright  2022 Amaia Anabitarte <amaia@moodle.com>
33
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
33
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
34
 * @coversDefaultClass \mod_data\external\get_mapping_information
34
 * @coversDefaultClass \mod_data\external\get_mapping_information
35
 */
35
 */
36
class get_mapping_information_test extends \advanced_testcase {
36
final class get_mapping_information_test extends \advanced_testcase {
Línea 37... Línea 37...
37
 
37
 
38
    /**
38
    /**
39
     * Data provider for test_get_mapping_information().
39
     * Data provider for test_get_mapping_information().
40
     *
40
     *
41
     * @return array[]
41
     * @return array[]
42
     */
42
     */
43
    public function get_mapping_information_provider(): array {
43
    public static function get_mapping_information_provider(): array {
Línea 44... Línea 44...
44
        // Image gallery preset is: ['title' => 'text', 'description' => 'textarea', 'image' => 'picture'];
44
        // Image gallery preset is: ['title' => 'text', 'description' => 'textarea', 'image' => 'picture'];
45
 
45
 
46
        $titlefield = new \stdClass();
46
        $titlefield = new \stdClass();