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

Availability: Behat test fails on first of month

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.7
    • Conditional activities

    Description

      Behat is failing while testing "Activity availability display" scenario.

      As per condition::show_time(), if date is midnight then it should show previous day.
      In behat it was testing for the same day, which is why it is failing. Also, the check is duplicated.

      Attachments

        Issue Links

          Activity

            People

              quen Sam Marshall
              rajeshtaneja Rajesh Taneja
              Rajesh Taneja Rajesh Taneja
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14