MDL-14081 Adding the fullname value to test grade_outcomes. Merging from MOODLE_19_STABLE
This commit is contained in:
@@ -1386,6 +1386,7 @@ class grade_test extends UnitTestCase {
|
||||
function load_grade_outcomes() {
|
||||
// Calculation for grade_item 1
|
||||
$grade_outcome = new stdClass();
|
||||
$grade_outcome->fullname = 'Team work';
|
||||
$grade_outcome->shortname = 'Team work';
|
||||
$grade_outcome->fullname = 'Team work outcome';
|
||||
$grade_outcome->timecreated = mktime();
|
||||
@@ -1398,6 +1399,7 @@ class grade_test extends UnitTestCase {
|
||||
|
||||
// Calculation for grade_item 2
|
||||
$grade_outcome = new stdClass();
|
||||
$grade_outcome->fullname = 'Complete circuit board';
|
||||
$grade_outcome->shortname = 'Complete circuit board';
|
||||
$grade_outcome->fullname = 'Complete circuit board';
|
||||
$grade_outcome->timecreated = mktime();
|
||||
@@ -1410,6 +1412,7 @@ class grade_test extends UnitTestCase {
|
||||
|
||||
// Calculation for grade_item 3
|
||||
$grade_outcome = new stdClass();
|
||||
$grade_outcome->fullname = 'Debug Java program';
|
||||
$grade_outcome->shortname = 'Debug Java program';
|
||||
$grade_outcome->fullname = 'Debug Java program';
|
||||
$grade_outcome->timecreated = mktime();
|
||||
|
||||
Reference in New Issue
Block a user