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