You are here

public function BRPhoneNumberTestCase::testPhoneBRFormatting in Phone 6

Same name and namespace in other branches
  1. 7 tests/phone.br.test \BRPhoneNumberTestCase::testPhoneBRFormatting()

File

tests/phone-br.test, line 36

Class

BRPhoneNumberTestCase

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'));
}