function Braintree_CustomerTest::testCreate_withSpecialChars in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ CustomerTest.php, line 107
Class
Code
function testCreate_withSpecialChars() {
$result = Braintree_Customer::create(array(
'firstName' => '<>&"\'',
));
$this
->assertEquals(true, $result->success);
$this
->assertEquals('<>&"\'', $result->customer->firstName);
}