Пример #1
0
 public function testable_process_set_batch_marking_allocation($selectedusers, $markerid)
 {
     global $CFG;
     require_once $CFG->dirroot . '/mod/sepl/batchsetallocatedmarkerform.php';
     // Simulate the form submission.
     $data = array();
     $data['id'] = $this->get_course_module()->id;
     $data['selectedusers'] = $selectedusers;
     $data['allocatedmarker'] = $markerid;
     $data['action'] = 'setbatchmarkingallocation';
     mod_sepl_batch_set_allocatedmarker_form::mock_submit($data);
     return parent::process_set_batch_marking_allocation();
 }