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

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

    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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13