MDL-50650 core_grades: Validate minimum grade when importing grades
commit01f6b2f988336e47e6be9b79dfcd5512afc289e0
authorIlya Tregubov <ilya@moodle.com>
Mon, 16 Oct 2023 01:46:27 +0000 (16 09:46 +0800)
committerIlya Tregubov <ilya.a.tregubov@gmail.com>
Mon, 4 Dec 2023 08:03:49 +0000 (4 16:03 +0800)
treeadc54e53e335dd753e6b5bd63a84607e547488f4
parent68ef883354ee6c3877aaeee7b1eadb7f1d668d3f
MDL-50650 core_grades: Validate minimum grade when importing grades

Also add behat test for max and min grade validation.
grade/import/csv/classes/load_data.php
grade/import/csv/tests/fixtures/phpunit_gradeimport_csv_load_data.php
grade/import/csv/tests/load_data_test.php
grade/tests/behat/grade_import.feature [new file with mode: 0644]
grade/tests/fixtures/grade_import.csv [new file with mode: 0644]
grade/tests/fixtures/grade_import_grademax.csv [new file with mode: 0644]
grade/tests/fixtures/grade_import_grademin.csv [new file with mode: 0644]
grade/upgrade.txt
lang/en/grades.php