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

Unit test failure when plugin that supports mobile is installed on site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.1
    • 3.1
    • Unit tests

      Seems like the newly implemented unit test for the existence of plugins supporting the Mobile app fails when the certificate module which now supports it is installed

      https://travis-ci.org/aspark21/moodle/jobs/138745275#L1792
      1) tool_mobile_external_testcase::test_get_plugins_supporting_mobile
      Failed asserting that actual size 1 matches expected size 0.
      /home/travis/build/aspark21/moodle/admin/tool/mobile/tests/externallib_test.php:53
      /home/travis/build/aspark21/moodle/lib/phpunit/classes/advanced_testcase.php:80
      To re-run:
      vendor/bin/phpunit tool_mobile_external_testcase admin/tool/mobile/tests/externallib_test.php

      https://tracker.moodle.org/browse/CONTRIB-6313
      https://tracker.moodle.org/browse/MDL-49279

      The failure is not very verbose and certificate seems like the only plugin which supports this so far so assuming that is the cause

            jleyva Juan Leyva
            aspark Alistair Spark
            Mark Nelson Mark Nelson
            Andrew Lyons Andrew Lyons
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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