function Braintree_CustomerTest::testCreateNoValidate_returnsCustomer in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ CustomerTest.php, line 319
Class
Code
function testCreateNoValidate_returnsCustomer() {
$customer = Braintree_Customer::createNoValidate(array(
'firstName' => 'Paul',
'lastName' => 'Martin',
));
$this
->assertEquals('Paul', $customer->firstName);
$this
->assertEquals('Martin', $customer->lastName);
}