| Línea 36... |
Línea 36... |
| 36 |
* @copyright 2023 The Open University
|
36 |
* @copyright 2023 The Open University
|
| 37 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
37 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
| 38 |
* @covers \mod_quiz\external\reopen_attempt
|
38 |
* @covers \mod_quiz\external\reopen_attempt
|
| 39 |
* @covers \mod_quiz\external\get_reopen_attempt_confirmation
|
39 |
* @covers \mod_quiz\external\get_reopen_attempt_confirmation
|
| 40 |
*/
|
40 |
*/
|
| 41 |
class reopen_attempt_test extends externallib_advanced_testcase {
|
41 |
final class reopen_attempt_test extends externallib_advanced_testcase {
|
| 42 |
/** @var stdClass|null if we make a quiz attempt, we store the student object here. */
|
42 |
/** @var stdClass|null if we make a quiz attempt, we store the student object here. */
|
| 43 |
protected $student;
|
43 |
protected $student;
|
| Línea 44... |
Línea 44... |
| 44 |
|
44 |
|
| 45 |
public function test_reopen_attempt_service_works(): void {
|
45 |
public function test_reopen_attempt_service_works(): void {
|