Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 23... Línea 23...
23
 * @package     core
23
 * @package     core
24
 * @category    output
24
 * @category    output
25
 * @copyright   2021 onwards Peter Dias
25
 * @copyright   2021 onwards Peter Dias
26
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 */
27
 */
28
class participants_action_bar_test extends \advanced_testcase {
28
final class participants_action_bar_test extends \advanced_testcase {
Línea 29... Línea 29...
29
 
29
 
30
    /**
30
    /**
31
     * Test the get_content_for_select function
31
     * Test the get_content_for_select function
32
     *
32
     *
Línea 66... Línea 66...
66
 
66
 
67
    /**
67
    /**
68
     * Provider for test_get_content_for_select
68
     * Provider for test_get_content_for_select
69
     * @return array[]
69
     * @return array[]
70
     */
70
     */
71
    public function get_content_for_select_provider() {
71
    public static function get_content_for_select_provider(): array {
72
        return [
72
        return [
73
            'Get dropdown content when in a course context' => [
73
            'Get dropdown content when in a course context' => [
74
                'course', 3, ['Enrolments', 'Groups', 'Permissions']
74
                'course', 3, ['Enrolments', 'Groups', 'Permissions']
75
            ],
75
            ],