Merge branch 'MDL-70966-master' of git://github.com/marinaglancy/moodle
[moodle.git] / question / format / xml / tests / xmlformat_test.php
index bddd49f..7c1a0b1 100644 (file)
@@ -407,7 +407,9 @@ END;
         $expectedq->responserequired = 1;
         $expectedq->responsefieldlines = 15;
         $expectedq->minwordlimit = null;
+        $expectedq->minwordenabled = false;
         $expectedq->maxwordlimit = null;
+        $expectedq->maxwordenabled = false;
         $expectedq->attachments = 0;
         $expectedq->attachmentsrequired = 0;
         $expectedq->maxbytes = 0;
@@ -470,7 +472,9 @@ END;
         $expectedq->responserequired = 0;
         $expectedq->responsefieldlines = 42;
         $expectedq->minwordlimit = null;
+        $expectedq->minwordenabled = false;
         $expectedq->maxwordlimit = null;
+        $expectedq->maxwordenabled = false;
         $expectedq->attachments = -1;
         $expectedq->attachmentsrequired = 1;
         $expectedq->maxbytes = 0;
@@ -537,7 +541,9 @@ END;
         $expectedq->responserequired = 0;
         $expectedq->responsefieldlines = 42;
         $expectedq->minwordlimit = 10;
+        $expectedq->minwordenabled = true;
         $expectedq->maxwordlimit = 20;
+        $expectedq->maxwordenabled = true;
         $expectedq->attachments = -1;
         $expectedq->attachmentsrequired = 1;
         $expectedq->maxbytes = 52428800; // 50MB.