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

Learning analytics tests do not allow extra models

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.8.3
    • None
    • Analytics
    • MOODLE_38_STABLE

    Description

      The amount of models is hard coded in the learning analytics tests. Adding a model should not create a phpunit failure.

       -$this>assertEquals(4, \core_analytics\stats::enabled_models());
        ++$this->assertGreaterThanOrEqual(4, \core_analytics\stats::enabled_models());

      Attachments

        Activity

          People

            Unassigned Unassigned
            rdebleu Renaat Debleu
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: