public function BRPhoneNumberTestCase::testPhoneBRFormatting in Phone 7
Same name and namespace in other branches
- 6 tests/phone-br.test \BRPhoneNumberTestCase::testPhoneBRFormatting()
File
- tests/
phone.br.test, line 36
Class
Code
public function testPhoneBRFormatting() {
$this
->assertEqual(format_br_phone_number('+55 11 2222-3333', null), '+55 (11) 222-333', t('Brazil - +55 (11) 222-333'));
}