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

Gradebook: PHPUnit fails when plugins are not expected

XMLWordPrintable

    • 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.

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

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

            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

              Created:
              Updated:
              Resolved:

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

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