Test\Functional\BTEditPaymentFormTest
Class BTPaymentFormTest
Synopsis
class BTEditPaymentFormTest
extends SetupFunctional
{
- // members
- protected static array $extra_controllers = ;
- // Inherited members from SetupFunctional
- public static string $invalid_nonce_characters;
- public static string $fake_valid_nonce;
- public static string $bt_environment;
- public static string $bt_merchantId;
- public static string $bt_publicKey;
- public static string $bt_privateKey;
- public $gateway;
- // methods
- public void setUp()
- public void testFormFields()
- public void testFormDropin()
- public void tearDown()
Hierarchy
Extends
Members
protected
- $extra_controllers
public
- $bt_environment
- $bt_merchantId
- $bt_privateKey
- $bt_publicKey
- $fake_valid_nonce
- $gateway
- $invalid_nonce_characters
Methods
public
- setUp()
- tearDown()
- testFormDropin() — Test if the form created has a bt-dropin div for Braintree drop-in UI
- testFormFields() — Test if field values are match with what passed in
Inherited from Test\SetupFunctional
public
- setUp() — Initialize a new gateway if not yet created
- tearDown()