You are here

function PhoneIntTest::testOverlongNumber in Phone 6

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

File

tests/phone.int.test, line 73

Class

PhoneIntTest

Code

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