Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 39... Línea 39...
39
 *
39
 *
40
 * @copyright  2020 Shamim Rezaie <shamim@moodle.com>
40
 * @copyright  2020 Shamim Rezaie <shamim@moodle.com>
41
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
41
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
42
 * @coversDefaultClass \core\external\record_userfeedback_action
42
 * @coversDefaultClass \core\external\record_userfeedback_action
43
 */
43
 */
44
class record_userfeedback_action_test extends externallib_advanced_testcase {
44
final class record_userfeedback_action_test extends externallib_advanced_testcase {
Línea 45... Línea 45...
45
 
45
 
46
    /**
46
    /**
47
     * Data provider for test_record_userfeedback_action.
47
     * Data provider for test_record_userfeedback_action.
48
     *
48
     *
49
     * @return  array
49
     * @return  array
50
     */
50
     */
51
    public function record_userfeedback_action_provider() {
51
    public static function record_userfeedback_action_provider(): array {
52
        return [
52
        return [
53
            'give action' => ['give'],
53
            'give action' => ['give'],
54
            'remind action' => ['remind'],
54
            'remind action' => ['remind'],
55
        ];
55
        ];