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

PHPunit does not report errors when there are missing prerequisites

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.8, 2.4.5, 2.5.1
    • 2.3.7, 2.4.4, 2.5, 2.6
    • Unit tests
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • w23_MDL-39465_m26_environment
    • Hide

      1/ execute phpunit tests with all extensions - no failure expected
      2/ uninstall php-intl extension - failure expected with basic message that tells you something is wrong with environment

      Show
      1/ execute phpunit tests with all extensions - no failure expected 2/ uninstall php-intl extension - failure expected with basic message that tells you something is wrong with environment

      Sometimes a Moodle site is setup only for phpunit (e.g. for testing MSSQL) and some Moodle prerequisites are forgotten (e.g. "intl"). If it would not be a big performance hit, we should detect missing prerequisites and refuse to run.

            skodak Petr Skoda
            damyon Damyon Wiese
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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