Achievement

Test report

  1. Achievement loop config

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

  2. LifterLMS Achievement loop type

      can create loop type lifter_achievement
      returns achievements from method get_items()
      returns an instance of WP Post of 'achievement' post type

  3. LifterLMS Achievement loop item

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

All 3 tests passed