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, Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/18