mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'MDL-40493-master-fix1' of git://github.com/damyon/moodle
This commit is contained in:
commit
c1636aea88
2 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,7 @@ require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php');
|
|||
class qbehaviour_manualgraded_walkthrough_testcase extends qbehaviour_walkthrough_test_base {
|
||||
public function test_manual_graded_essay() {
|
||||
|
||||
// The current text editor depends on the users profile setting - so it needs a valid user.
|
||||
$this->setAdminUser();
|
||||
|
||||
// Create an essay question.
|
||||
|
@ -110,6 +111,7 @@ class qbehaviour_manualgraded_walkthrough_testcase extends qbehaviour_walkthroug
|
|||
|
||||
public function test_manual_graded_essay_not_answered() {
|
||||
|
||||
// The current text editor depends on the users profile setting - so it needs a valid user.
|
||||
$this->setAdminUser();
|
||||
|
||||
// Create an essay question.
|
||||
|
@ -272,6 +274,7 @@ class qbehaviour_manualgraded_walkthrough_testcase extends qbehaviour_walkthroug
|
|||
|
||||
public function test_manual_graded_essay_can_grade_0() {
|
||||
|
||||
// The current text editor depends on the users profile setting - so it needs a valid user.
|
||||
$this->setAdminUser();
|
||||
|
||||
// Create an essay question.
|
||||
|
|
|
@ -74,6 +74,7 @@ class qtype_essay_walkthrough_testcase extends qbehaviour_walkthrough_test_base
|
|||
|
||||
public function test_deferred_feedback_html_editor() {
|
||||
|
||||
// The current text editor depends on the users profile setting - so it needs a valid user.
|
||||
$this->setAdminUser();
|
||||
|
||||
// Create an essay question.
|
||||
|
@ -180,6 +181,7 @@ class qtype_essay_walkthrough_testcase extends qbehaviour_walkthrough_test_base
|
|||
|
||||
public function test_responsetemplate() {
|
||||
|
||||
// The current text editor depends on the users profile setting - so it needs a valid user.
|
||||
$this->setAdminUser();
|
||||
|
||||
// Create an essay question.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue