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

Availability: incorrect use of defined('PHP_UNIT')

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Run unit tests.
      2. Ensure availability is enabled for a website.
      3. Edit an activity and under 'Restrict access', add a condition (e.g. date)
      4. Save changes.

      Note: This did not fail before - just doing something to make it run through that code. Running Behat tests should also cover it.

      Show
      1. Run unit tests. 2. Ensure availability is enabled for a website. 3. Edit an activity and under 'Restrict access', add a condition (e.g. date) 4. Save changes. Note: This did not fail before - just doing something to make it run through that code. Running Behat tests should also cover it.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-47564-master

      Description

      As raised in MDL-47546

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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