Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 27... Línea 27...
27
 *
27
 *
28
 * @package    mod_assign
28
 * @package    mod_assign
29
 * @copyright  2017 onwards Ankit Agarwal <ankit.agrr@gmail.com>
29
 * @copyright  2017 onwards Ankit Agarwal <ankit.agrr@gmail.com>
30
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31
 */
31
 */
32
class restore_date_test extends \restore_date_testcase {
32
final class restore_date_test extends \restore_date_testcase {
Línea 33... Línea 33...
33
 
33
 
34
    /**
34
    /**
35
     * Test restore dates.
35
     * Test restore dates.
36
     */
36
     */
Línea 124... Línea 124...
124
                'text' => random_string(),
124
                'text' => random_string(),
125
                'format' => FORMAT_MARKDOWN,
125
                'format' => FORMAT_MARKDOWN,
126
            ],
126
            ],
127
            'timelimit' => DAYSECS,
127
            'timelimit' => DAYSECS,
128
            'submissionattachments' => 1,
128
            'submissionattachments' => 1,
-
 
129
            'gradepenalty' => 1,
129
        ];
130
        ];
130
        $assign = $this->getDataGenerator()->create_module('assign', $record);
131
        $assign = $this->getDataGenerator()->create_module('assign', $record);
Línea 131... Línea 132...
131
 
132
 
132
        // Do backup and restore.
133
        // Do backup and restore.