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

Learning analytics tests do not allow extra models

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.3
    • Fix Version/s: None
    • Component/s: Analytics
    • Labels:
    • Affected Branches:
      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

            Assignee:
            Unassigned
            Reporter:
            rdebleu Renaat Debleu
            Participants:
            Component watchers:
            Elizabeth Dalton, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: