Advertisement
sarjona

mod/quiz/tests/quiz_question_restore_test.php

Jan 28th, 2022
829
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/mod/quiz/tests/quiz_question_restore_test.php b/mod/quiz/tests/quiz_question_restore_test.php
  2. index c84f838f82c..0825e210d55 100644
  3. --- a/mod/quiz/tests/quiz_question_restore_test.php
  4. +++ b/mod/quiz/tests/quiz_question_restore_test.php
  5. @@ -16,9 +16,6 @@
  6.  
  7.  namespace mod_quiz;
  8.  
  9. -use backup_quiz_activity_structure_step;
  10. -use restore_quiz_activity_structure_step;
  11. -
  12.  defined('MOODLE_INTERNAL') || die();
  13.  
  14.  global $CFG;
  15. @@ -35,8 +32,8 @@ require_once($CFG->dirroot . '/mod/quiz/locallib.php');
  16.   * @author     Safat Shahin <safatshahin@catalyst-au.net>
  17.   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  18.   * @coversDefaultClass \mod_quiz\question\bank\qbank_helper
  19. - * @coversDefaultClass backup_quiz_activity_structure_step
  20. - * @coversDefaultClass restore_quiz_activity_structure_step
  21. + * @coversDefaultClass \backup_quiz_activity_structure_step
  22. + * @coversDefaultClass \restore_quiz_activity_structure_step
  23.   */
  24.  class quiz_question_restore_test extends \advanced_testcase {
  25.      use \quiz_question_helper_test_trait;
  26. @@ -124,6 +121,8 @@ class quiz_question_restore_test extends \advanced_testcase {
  27.  
  28.      /**
  29.       * Test if a duplicate does not duplicate questions in course question bank.
  30. +     *
  31. +     * @covers ::duplicate_module
  32.       */
  33.      public function test_quiz_duplicate_does_not_duplicate_course_question_bank_questions() {
  34.          $this->resetAfterTest();
  35. @@ -144,6 +143,8 @@ class quiz_question_restore_test extends \advanced_testcase {
  36.  
  37.      /**
  38.       * Test quiz duplicate for quiz question bank.
  39. +     *
  40. +     * @covers ::duplicate_module
  41.       */
  42.      public function test_quiz_duplicate_for_quiz_question_bank_questions() {
  43.          $this->resetAfterTest();
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement