Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 21... Línea 21...
21
 *
21
 *
22
 * @copyright  2021 Peter Dias
22
 * @copyright  2021 Peter Dias
23
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 * @package    core
24
 * @package    core
25
 */
25
 */
26
class client_test extends advanced_testcase {
26
final class client_test extends advanced_testcase {
27
    /**
27
    /**
28
     * Uses the static dataset as feed-in
28
     * Uses the static dataset as feed-in
29
     *
29
     *
30
     * @return array
30
     * @return array
31
     */
31
     */
32
    public function map_response_provider(): array {
32
    public static function map_response_provider(): array {
33
        return [
33
        return [
34
            "Nested objects syntax a-b-c syntax " => [
34
            "Nested objects syntax a-b-c syntax " => [
35
                [
35
                [
36
                    "name-firstname" => "firstname",
36
                    "name-firstname" => "firstname",
37
                    "contact-phone-home" => "homenumber",
37
                    "contact-phone-home" => "homenumber",