You are here

function PhoneIntTest::testBasicWithFourCountryCode in Phone 6

Same name and namespace in other branches
  1. 7 tests/phone.int.test \PhoneIntTest::testBasicWithFourCountryCode()

File

tests/phone.int.test, line 46

Class

PhoneIntTest

Code

function testBasicWithFourCountryCode() {
  $this
    ->assertConversion('+6724 565434', FALSE, array(), array(
    'Invalid international phone number: Country code "+%cc" is too long; valid country codes are three digits or less.',
    array(
      '%cc' => '6724',
    ),
  ));
}