public function PLPhoneNumberTestCase::testPhonePLInvalid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.pl.test \PLPhoneNumberTestCase::testPhonePLInvalid()
File
- tests/
phone-pl.test, line 22
Class
Code
public function testPhonePLInvalid() {
$this
->assertFalse(valid_phone_number('pl', '+47 100-100-100'), t('Test invalid '));
$this
->assertFalse(valid_phone_number('pl', '1000-100-100'), t('Test invalid '));
$this
->assertFalse(valid_phone_number('pl', '1000000000'), t('Test invalid '));
}