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

Gradebook: PHPUnit fails when plugins are not expected

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-76293_401
    • Hide

      Install a gradebook plugin (you can find some at https://moodle.org/plugins/?q=type:gradereport)

      Before this patch applied

      Ideally, before applying this path, verify you can reproduce the failure.

      1. Run the phpunit test for general_action_bar_test class (vendor/bin/phpunit --testsuite core_grades_testsuite --filter general_action_bar_test)
      2. Verify the test fails.

      After this patch

      1. Verify that the tests now pass.
      Show
      Install a gradebook plugin (you can find some at https://moodle.org/plugins/?q=type:gradereport ) Before this patch applied Ideally, before applying this path, verify you can reproduce the failure. Run the phpunit test for general_action_bar_test class ( vendor/bin/phpunit --testsuite core_grades_testsuite --filter general_action_bar_test ) Verify the test fails. After this patch Verify that the tests now pass.

    Description

      The PHPUnit general_action_bar_test fails when added plugins are present and not in the expected list.

      Attachments

        1. 400.png
          400.png
          192 kB
        2. 401.png
          401.png
          190 kB
        3. grade_phpunit_failure.PNG
          grade_phpunit_failure.PNG
          40 kB
        4. Master.png
          Master.png
          214 kB

        Issue Links

          Activity

            People

              mkassaei Mahmoud Kassaei
              mkassaei Mahmoud Kassaei
              Tim Hunt Tim Hunt
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 26 minutes
                  2h 26m

                  Clockify

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