Student

Test report

  1. Student loop config

      exists as loop type learndash_student
      has property "name"
      has property "title"
      has property "category"
      has property "description"
      has property "query_args"
      has property "fields"

  2. LearnDash Student loop type

      can create loop type learndash_student
      returns lessons from method get_items()
      returns an instance of WP User

  3. LearnDash Student loop item

      loop has next item
      loops every item
      loop can be reset
      has current item

  4. LearnDash Student fields

      ID
      course_points - correct
      courses_count - correct
      last_active_course - correct

  5. Student query args

      Filtering by 'enrolled_any' query argument returns corresponding students

All 5 tests passed