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

Provide enrol_user for PHPunit tests in 2.3 (backport of MDL-36703)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.5
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      1. Run phpunit lib/phpunit/tests/generator_test.php
      2. When finished praise Mark.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      Rather than having to re-write a unit test for 2.3 as the enrol_user function is not supported, we should include it. This will make developers' life easier.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              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:
                11/Mar/13