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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: Unit tests
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              aspark Alistair Spark
              Peer reviewer:
              Mark Nelson
              Integrator:
              Andrew Nicols
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16