Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 27... Línea 27...
27
 * @package    core
27
 * @package    core
28
 * @category   test
28
 * @category   test
29
 * @copyright  nicolas@moodle.com
29
 * @copyright  nicolas@moodle.com
30
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31
 */
31
 */
32
class grade_category_test extends \grade_base_testcase {
32
final class grade_category_test extends \grade_base_testcase {
Línea 33... Línea 33...
33
 
33
 
34
    public function test_grade_category(): void {
34
    public function test_grade_category(): void {
35
        $this->sub_test_grade_category_construct();
35
        $this->sub_test_grade_category_construct();
36
        $this->sub_test_grade_category_build_path();
36
        $this->sub_test_grade_category_build_path();
Línea 442... Línea 442...
442
        global $DB;
442
        global $DB;
Línea 443... Línea 443...
443
 
443
 
Línea 444... Línea 444...
444
        $category_grade_item = $grade_category->get_grade_item();
444
        $category_grade_item = $grade_category->get_grade_item();
445
 
445
 
Línea 446... Línea 446...
446
        // This creates all the grade_grades we need.
446
        // This creates all the grade_grades we need.
447
        grade_regrade_final_grades($this->courseid);
447
        grade_regrade_final_grades($this->courseid, async: true);
448
 
448