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

This commit is contained in:
Andres 2017-05-18 21:58:24 -05:00
parent 3ffd13827e
commit 373d7d3f28

View File

@ -36,16 +36,15 @@ require_once($CFG->dirroot . '/course/lib.php');
* @copyright 2017 Andrés Melo <andres.torres@blackboard.com>
* @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();