Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Dec 18, 2023
1 parent 5b7256e commit 02f4643
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/mod_learningmap_activitymanager_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace mod_learningmap;

use learningmap_testcase;
defined('MOODLE_INTERNAL') || die();

global $CFG;
require_once($CFG->dirroot . '/mod/learningmap/tests/mod_learningmap_testcase.php');
Expand Down
2 changes: 0 additions & 2 deletions tests/mod_learningmap_completion_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

namespace mod_learningmap;

use learningmap_testcase;

defined('MOODLE_INTERNAL') || die();

global $CFG;
Expand Down
1 change: 1 addition & 0 deletions tests/mod_learningmap_testcase.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public function prepare($completiontype, $groupmode = false, $passinggrade = fal
'course' => $this->course,
'completion' => COMPLETION_TRACKING_AUTOMATIC,
'completionusegrade' => true,
'completionview' => COMPLETION_VIEW_NOT_REQUIRED,
'gradepass' => 10,
]
);
Expand Down

0 comments on commit 02f4643

Please sign in to comment.