Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62781

core_question_privacy_provider_testcase makes assumptions that CodeRunner breaks

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Install https://moodle.org/plugins/qtype_coderunner.
      2. Run core_question_privacy_provider_testcase.

      Expectec result: They pass.

      Acutal result:

      --------------------------------------------------------------
      core_question_privacy_provider_testcase::test_question_owned_is_handled
      Failed asserting that actual size 24 matches expected size 6.
       
      /var/www/html/20180622_020000_175_tt_overnight_full/question/tests/privacy_provider_test.php:265
      /var/www/html/20180622_020000_175_tt_overnight_full/lib/phpunit/classes/advanced_testcase.php:80
       
       
      core_question_privacy_provider_testcase::test_question_delete_data_for_user_anonymised
      Failed asserting that actual size 23 matches expected size 5.
       
      /var/www/html/20180622_020000_175_tt_overnight_full/question/tests/privacy_provider_test.php:328
      /var/www/html/20180622_020000_175_tt_overnight_full/lib/phpunit/classes/advanced_testcase.php:80
       
       
      core_question_privacy_provider_testcase::test_question_delete_data_for_all_users_in_context_anonymised
      Failed asserting that actual size 23 matches expected size 5.
       
      /var/www/html/20180622_020000_175_tt_overnight_full/question/tests/privacy_provider_test.php:398
      /var/www/html/20180622_020000_175_tt_overnight_full/lib/phpunit/classes/advanced_testcase.php:80
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                timhunt Tim Hunt
                Peer reviewer:
                Mark Johnson
                Integrator:
                Jun Pataleta
                Tester:
                CiBoT
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/18