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

Relative dates: another behat edge case failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: Course
    • Labels:

      Description

      Missed one.

      For the relative enrolment "First day of current month", this could clash with the current time if the current date is the first day of the current month.

      What we really want to test in this behat test is the 2 extremes: the user who started a long time ago and doesn't have access any more and the user who started recently, who does have access. To fix all problems with datetime clashes, it's probably better to just use something like 'yesterday' for the current student's enrolment start.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaked Jake Dallimore
                Reporter:
                jaked Jake Dallimore
                Peer reviewer:
                Jun Pataleta
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

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