public function PhoneIntTest::testOverlongNumberWithoutCountryCode in Phone 7
Same name and namespace in other branches
- 6 tests/phone.int.test \PhoneIntTest::testOverlongNumberWithoutCountryCode()
File
- tests/
phone.int.test, line 82
Class
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.');
}