function Braintree_CustomerTest::testCreateNoValidate_throwsIfInvalid in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ CustomerTest.php, line 329
Class
Code
function testCreateNoValidate_throwsIfInvalid() {
$this
->setExpectedException('Braintree_Exception_ValidationsFailed');
$customer = Braintree_Customer::createNoValidate(array(
'email' => 'invalid',
));
}