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

Error in test enrol/meta/tests/plugin_test.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.5, 3.10.1, 3.11, 4.0
    • Fix Version/s: 3.9.6, 3.10.3
    • Component/s: Enrolments
    • Labels:

      Description

      There is an error in the test enrol/meta/tests/plugin_test.php that was picked by PHP8 but I don't really know how it worked before either.

      $groups array has group NAMES as values (which are strings such as 'group-1') but we try to put this value into an integer form

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Peter Dias Peter Dias
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Mar/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 51 minutes
                  1h 51m