MDL-46322 mod_assign: Only list enrolled graders as potential markers

This commit is contained in:
Andres
2017-05-18 22:32:59 -05:00
parent f13c34e4a9
commit 6fc4a6c17a
+1 -2
View File
@@ -36,16 +36,15 @@ require_once($CFG->dirroot . '/course/lib.php');
* @copyright 2017 Andrés Melo <[email protected]>
* @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();