Merge branch 'MDL-40493-master-fix1' of git://github.com/damyon/moodle

This commit is contained in:
Dan Poltawski 2013-10-09 17:01:10 +08:00
commit c1636aea88
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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.