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

fatal error when initialising phpunit for the first time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      1/ create a fresh git checkout (run php admin/tool/phpunit/cli/init.php) or delete phpunit.xml file
      2/ try to run the phpunit
      3/ verify the sequence constant in created phpunit.xml file is filled with random number
      4/ build component configs using the admin/tool/phpunit/cli/util.php
      5/ verify the component phpunit.xml files have random numbers too

      Show
      1/ create a fresh git checkout (run php admin/tool/phpunit/cli/init.php) or delete phpunit.xml file 2/ try to run the phpunit 3/ verify the sequence constant in created phpunit.xml file is filled with random number 4/ build component configs using the admin/tool/phpunit/cli/util.php 5/ verify the component phpunit.xml files have random numbers too
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip_MDL-47538_m28_phpunitseq

      Description

      regression caused by the new fancy constant for sequence start

      Could not load "/Users/skodak/server/workspace/moodle/phpunit.xml.dist".
      Unescaped '<' not allowed in attributes values
      attributes construct error
      Couldn't find end of Start Tag const line 23

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Marina Glancy
              Tester:
              Aparup Banerjee
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14