public function PLPhoneNumberTestCase::testPhonePLInvalid in Phone 7
Same name and namespace in other branches
- 6 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 '));
}