Assignment

Test report

  1. Assignment loop config

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

  2. LifterLMS Assignment loop type

      can create loop type lifter_assignment
      returns assignments from method get_items()
      returns an instance of WP Post of 'assignment' post type

  3. LifterLMS Assignment loop item

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

  4. LifterLMS Assignment fields

      ID
      assignment_points
      assignment_type
      assignment_passing_percentage
      assignment_created_date
      assignment_is_complete

  5. LifterLMS Assignment logic

      assignment passing_percentage( more_than_or_equal 0 )

  6. Assignment subloops

      assignment loop 'access_type' returns a Loop
      return 'access_type' correctly
      assignment lessons subloop returns a Loop
      assignment lessons subloop returns correct lessons

All 6 tests passed