/** * Construct the input for the test. * @return array */ protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course')); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course'), $this->contructObject('module'), $this->constructUser('graded_user'), ['grade_result' => 1]); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course'), $this->contructObject('module'), $this->constructQuestion(), $this->constructAttempt()); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course'), $this->contructObject('module'), $this->contructObject('session', 'http://activitystrea.ms/schema/1.0/event')); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course'), $this->contructObject('module'), $this->constructUser('graded_user'), ['grade_score_raw' => 47, 'grade_score_min' => 0, 'grade_score_max' => 100, 'grade_score_scaled' => 0.47, 'grade_success' => true, 'grade_completed' => true, 'grade_comment' => 'test comment from instructor']); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->constructApp()); }
protected function constructInput() { return array_merge(parent::constructInput(), $this->contructObject('course'), $this->contructObject('module'), $this->contructObject('session', 'http://activitystrea.ms/schema/1.0/event'), $this->constructUser('attendee'), ["attempt_duration" => "PT150S", "attempt_completion" => true]); }