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