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

Duplicate array key in test provider core_component::get_class_file_provider

XMLWordPrintable

      I came across this bug during dev of MDL-79697. This provider has duplicate array keys, which means that we are missing a test.

      // lib/tests/component_test.php
      get_class_file_provider
                'Getting a file with multiple namespaces' => [
      

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Paul Holden Paul Holden
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

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