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

Create unit test to check all components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.6, 3.4.3
    • 3.3.5, 3.4.2, 3.5
    • Privacy
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-61861-master
    • Hide
      1. Run the newly introduced unit test:

        ./vendor/bin/phpunit privacy/tests/provider_test.php
        

        1. Confirm pass
      2. Open lib/editor/atto/plugins/bold/lang/en/atto_bold.php and remove the string for privacy:metadata
      3. Open lang/en/tag.php and remove the string for privacy:metadata:tag
      4. Open mod/choice/lang/en/choice.php and remove the string for privacy:metadata:choice_answers:choiceid
      5. Re-run the test

        ./vendor/bin/phpunit privacy/tests/provider_test.php
        

        1. Confirm the the test picked up three failures
      Show
      Run the newly introduced unit test: ./vendor/bin/phpunit privacy/tests/provider_test.php Confirm pass Open lib/editor/atto/plugins/bold/lang/en/atto_bold.php and remove the string for privacy:metadata Open lang/en/tag.php and remove the string for privacy:metadata:tag Open mod/choice/lang/en/choice.php and remove the string for privacy:metadata:choice_answers:choiceid Re-run the test ./vendor/bin/phpunit privacy/tests/provider_test.php Confirm the the test picked up three failures

      Related to MDL-61858, but without the final bit failing components which do not implement at all.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Jake Dallimore Jake Dallimore
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.