woocommerce/tests/unit-tests/payment-tokens
Justin Shreve 5dbfc7ae16 Fix Payment Token 'set default' methods. Makes sure we are using the user ID of the payment token, and not the current user.
Also makes sure to properly unset other tokens when a new one is set as default. Finally, we make sure that a user is always set in our payment token tests (which was broken in some WP versions which alerted us to some broken tests).
2016-03-14 09:41:37 -07:00
..
cc.php * Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck 2016-03-01 11:49:42 -08:00
echeck.php * Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck 2016-03-01 11:49:42 -08:00
payment-token.php * Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck 2016-03-01 11:49:42 -08:00
payment-tokens.php Fix Payment Token 'set default' methods. Makes sure we are using the user ID of the payment token, and not the current user. 2016-03-14 09:41:37 -07:00