Question

Test report

  1. Question loop config

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

  2. LearnDash Question loop type

      can create loop type learndash_question
      returns lessons from method get_items()
      returns an instance of WP Post of 'sfwd-question' post type

  3. LearnDash Question loop item

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

  4. LearnDash Question fields

      ID
      author - correct
      question_cat_id - correct
      question_type - correct
      question_tip_enabled - correct

All 4 tests passed