Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 28... Línea 28...
28
 * @package   mod_forum
28
 * @package   mod_forum
29
 * @category  test
29
 * @category  test
30
 * @copyright 2019 Andrew Nicols <andrew@nicols.co.uk>
30
 * @copyright 2019 Andrew Nicols <andrew@nicols.co.uk>
31
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32
 */
32
 */
33
class gradeitems_test extends advanced_testcase {
33
final class gradeitems_test extends advanced_testcase {
Línea 34... Línea 34...
34
 
34
 
35
    /**
35
    /**
36
     * Ensure that the mappings are present and correct.
36
     * Ensure that the mappings are present and correct.
37
     */
37
     */
Línea 75... Línea 75...
75
    /**
75
    /**
76
     * Data provider for tests of is_advancedgrading_itemname.
76
     * Data provider for tests of is_advancedgrading_itemname.
77
     *
77
     *
78
     * @return array
78
     * @return array
79
     */
79
     */
80
    public function is_advancedgrading_itemname_provider(): array {
80
    public static function is_advancedgrading_itemname_provider(): array {
81
        return [
81
        return [
82
            'rating is not advanced' => [
82
            'rating is not advanced' => [
83
                'rating',
83
                'rating',
84
                false,
84
                false,
85
            ],
85
            ],