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

static in get_in_or_equal makes unit testing impossible

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.1
    • None
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • Hide

      Run the unit tests in lib/dml

      Show
      Run the unit tests in lib/dml

    Description

      static variables inside method are evil. This should be a class field.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Jul/11