Instructor
Test report
1. Instructor loop config
exists as loop type lifter_instructor
has property "name"
has property "title"
has property "category"
has property "description"
has property "query_args"
has property "fields"
2. LifterLMS Instructor loop type
can create loop type lifter_instructor
returns instructors from method get_items()
returns an instance of WP User
3. LifterLMS Instructor loop item
loop has next item
loops every item
loop can be reset
has current item
4. LifterLMS Instructor fields
ID
instructor_courses
instructor_assistants
instructor_students
instructor_memberships
5. LifterLMS Instructor logic
instructor is instructor on post
6. Instructor subloops
instructor courses subloop returns a Loop
return 'instructor_courses' correctly
instructor course subloop returns a Loop
instructor courses subloop returns number of items correctly
instructor courses subloop returns correct lessons
All 6 tests passed