You are here

public function PhoneIntTest::testOverlongNumberWithoutCountryCode in Phone 7

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

File

tests/phone.int.test, line 82

Class

PhoneIntTest

Code

public function testOverlongNumberWithoutCountryCode() {
  $this
    ->assertConversion('456 789 012 3456', FALSE, array(
    'phone_default_country_code' => '123',
  ), 'Invalid international phone number: Phone number is too long; international phone numbers are limited to 15 digits.');
}