Quiz
Test report
1. Quiz loop config
exists as loop type lifter_quiz
has property "name"
has property "title"
has property "category"
has property "description"
has property "query_args"
has property "fields"
2. LifterLMS Quiz loop type
can create loop type lifter_quiz
returns quizes from method get_items()
returns an instance of WP Post of 'quiz' post type
3. LifterLMS Quiz loop item
loop has next item
loops every item
loop can be reset
has current item
4. LifterLMS Quiz fields
ID
quiz_has_time_limit
quiz_has_attempt_limit
quiz_time_limit
quiz_passing_percent
quiz_show_correct_answer
5. LifterLMS Quiz logic
quiz is open
6. Quiz subloops
quiz loop 'is_open' returns a Loop
return 'is_open' correctly
quiz lessons subloop returns a Loop
quiz lessons subloop returns correct lessons
7. Quiz query args
Filtering by 'course' query argument returns corresponding quiz
All 7 tests passed