Skip to content

Commit

Permalink
MDL-49202 core: fix failing unit tests
Browse files Browse the repository at this point in the history
See MDL-72377.
  • Loading branch information
mdjnelson committed Aug 19, 2021
1 parent 757f872 commit 9a0d633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grade/tests/external/create_gradecategories_test.php
Expand Up @@ -85,7 +85,7 @@ public function test_create_gradecategories() {
'display' => GRADE_DISPLAY_TYPE_LETTER,
// Hack. This must be -2 to use the default setting.
'decimals' => 3,
'hiddenuntil' => time(),
'hiddenuntil' => 0,
'locktime' => time(),
'weightoverride' => 1,
'aggregationcoef2' => 20,
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/grades_externallib_test.php
Expand Up @@ -579,7 +579,7 @@ public function test_create_gradecategory() {
'display' => GRADE_DISPLAY_TYPE_LETTER,
// Hack. This must be -2 to use the default setting.
'decimals' => 3,
'hiddenuntil' => time(),
'hiddenuntil' => 0,
'locktime' => time(),
'weightoverride' => 1,
'aggregationcoef2' => 20,
Expand Down

0 comments on commit 9a0d633

Please sign in to comment.