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

New activity chooser assumes no additonal plugins are installed.

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE

      PHPunit tests fail when there are additional activity modules installed:

      1) core_course_externallib_testcase::test_fetch_modules_activity_chooser
      Failed asserting that 23 matches expected 21.
      course/tests/externallib_test.php:3072
      lib/phpunit/classes/advanced_testcase.php:80
      To re-run:
       vendor/bin/phpunit "core_course_externallib_testcase" course/tests/externallib_test.php
      
      

       It would be better to use $this->assertGreaterThanOrEqual instead of $this->assertEquals

            Unassigned Unassigned
            rdebleu Renaat Debleu
            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 - 10 minutes
                10m

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