From 6fc4a6c17aea7f95705409f86de4338192a6ab0c Mon Sep 17 00:00:00 2001 From: Andres Date: Thu, 18 May 2017 22:32:59 -0500 Subject: [PATCH] MDL-46322 mod_assign: Only list enrolled graders as potential markers --- mod/assign/tests/markerallocation_test.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/assign/tests/markerallocation_test.php b/mod/assign/tests/markerallocation_test.php index 5bf9420a313..fd6f89ea9ad 100644 --- a/mod/assign/tests/markerallocation_test.php +++ b/mod/assign/tests/markerallocation_test.php @@ -36,16 +36,15 @@ require_once($CFG->dirroot . '/course/lib.php'); * @copyright 2017 Andrés Melo * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - class mod_assign_markerallocation_testcase extends advanced_testcase { /** * Create all the needed elements to test the difference between both functions. */ - public function test_markerusers() { $this->resetAfterTest(); global $DB; + // Create a course, by default it is created with 5 sections. $this->course = $this->getDataGenerator()->create_course();