You are here

function Braintree_CustomerTest::testCreate_withSpecialChars in Commerce Braintree 7

File

braintree_php/tests/integration/CustomerTest.php, line 107

Class

Braintree_CustomerTest

Code

function testCreate_withSpecialChars() {
  $result = Braintree_Customer::create(array(
    'firstName' => '<>&"\'',
  ));
  $this
    ->assertEquals(true, $result->success);
  $this
    ->assertEquals('<>&"\'', $result->customer->firstName);
}