Skip to content
  • Eloy Lafuente's avatar
    MDL-69102 phpunit: Add test to cover ALL cohort criteria · f5087ef5
    Eloy Lafuente 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.
    f5087ef5