Payment Method

Test report

  1. Edd payment method loop config

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

  2. Payment method loop type

      can create loop type edd_payment_method
      returns products from method get_items()
      payment method is an array

  3. Payment method loop item

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

  4. Payment method fields

      Admin label
      Checkout label
      Options a gateway supports

All 4 tests passed