1. 16 Apr, 2021 5 commits
  2. 15 Apr, 2021 3 commits
  3. 14 Apr, 2021 8 commits
  4. 13 Apr, 2021 3 commits
  5. 12 Apr, 2021 5 commits
  6. 11 Apr, 2021 1 commit
  7. 10 Apr, 2021 1 commit
    • Eloy Lafuente (stronk7)'s avatar
      MDL-69102 phpunit: Add test to cover ALL cohort criteria · f5087ef5
      Eloy Lafuente (stronk7) authored
      That way we can check that the expectations are
      working ok for every database. Previously only the
      ANY case was being tested.
      Also, convert them to course badges and check, via
      review_all_criteria() that the SQL structures returned
      by award_criteria_cohort->get_completed_criteria_sql()
      doesn't fail and return the expected counters.
  8. 09 Apr, 2021 1 commit
  9. 08 Apr, 2021 2 commits
  10. 07 Apr, 2021 2 commits
  11. 06 Apr, 2021 5 commits
  12. 04 Apr, 2021 1 commit
  13. 03 Apr, 2021 2 commits
    • Eloy Lafuente (stronk7)'s avatar
      MDL-71264 behat: Change date(time) element update order · 215851c4
      Eloy Lafuente (stronk7) authored
      This includes 2 change to the order date(time) elements are filled,
      each one addressing one type of problem, where current order is
      problematic and can lead to unexpected dates.
      1) Changing date, when current month only has X days and target
         month has more than X days. Example, being 1 April, change
         the date to 31 May.
           This is solved by changing the order of introduction
           from current D => M => Y to Y => M => D.
      2) Changing date, when target month only has X days and current
         month has more that X days. Example, being 31 March, change
         the date to 28 Feb.
           This is solved by always setting the D to 1, before the
           Y => M => D sequence commented @ 1) begins.
    • Eloy Lafuente (stronk7)'s avatar
      MDL-71264 behat: New feature covering all day/month/year date changes · f751383a
      Eloy Lafuente (stronk7) authored
      Because of the order that dates and datetimes are filled by behat
      sometimes there are some intermediate results that are impossible
      and then the form (javascript) automatically reacts and fixes the
      date, ultimate leading to a different date that the one we wanted
      to set with Behat.
      This is noticeable when switching between months (with some day
      being the last day of the month) and the 2 months have a different
      number of days. For example April date => March date (or the opposite).
      This test covers all the critical changes (day, month and year),
      back and forth. All times are Perth/Australia.
  14. 02 Apr, 2021 1 commit