public function PKPhoneNumberTestCase::testPhonePKInvalid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.pk.test \PKPhoneNumberTestCase::testPhonePKInvalid()
File
- tests/
phone-pk.test, line 22
Class
Code
public function testPhonePKInvalid() {
$this
->assertFalse(valid_phone_number('pk', '00124566'), t('Test invalid'));
$this
->assertFalse(valid_phone_number('pk', '01 922 745689'), t('Test invalid'));
$this
->assertFalse(valid_phone_number('pk', '0000000000'), t('Test invalid'));
}