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

              timhunt Tim Hunt
              timhunt Tim Hunt
              Mark Johnson Mark Johnson
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/18