Cart

Test report

  1. Cart loop config

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

  2. Cart loop type

      can create loop type woo_cart
      returns carts from method get_items()
      returns a line item array

  3. Cart loop item

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

  4. Cart item fields

      product id
      line subtotal
      cart item product

Total of 4 tests: 3 passed, 1 failed