Skip to content

Commit

Permalink
MDL-12182 fixing fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Mar 6, 2008
1 parent 4a88e24 commit 27c9bf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grade/grade_outcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,4 @@ function get_grade_info($courseid=null, $average=true, $items=false) {
return $retval;
}
}
?>
>
3 changes: 3 additions & 0 deletions lib/simpletest/fixtures/gradetest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,7 @@ function load_grade_outcomes() {
// Calculation for grade_item 1
$grade_outcome = new stdClass();
$grade_outcome->shortname = 'Team work';
$grade_outcome->fullname = 'Team work outcome';
$grade_outcome->timecreated = mktime();
$grade_outcome->timemodified = mktime();
$grade_outcome->scaleid = $this->scale[2]->id;
Expand All @@ -1398,6 +1399,7 @@ function load_grade_outcomes() {
// Calculation for grade_item 2
$grade_outcome = new stdClass();
$grade_outcome->shortname = 'Complete circuit board';
$grade_outcome->fullname = 'Complete circuit board';
$grade_outcome->timecreated = mktime();
$grade_outcome->timemodified = mktime();
$grade_outcome->scaleid = $this->scale[3]->id;
Expand All @@ -1409,6 +1411,7 @@ function load_grade_outcomes() {
// Calculation for grade_item 3
$grade_outcome = new stdClass();
$grade_outcome->shortname = 'Debug Java program';
$grade_outcome->fullname = 'Debug Java program';
$grade_outcome->timecreated = mktime();
$grade_outcome->timemodified = mktime();
$grade_outcome->scaleid = $this->scale[4]->id;
Expand Down

0 comments on commit 27c9bf2

Please sign in to comment.