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

Relative dates: another behat edge case failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8
    • 3.8
    • Course

      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.

            jaked Jake Dallimore
            jaked Jake Dallimore
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.