public function PKPhoneNumberTestCase::testPhonePKValid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.pk.test \PKPhoneNumberTestCase::testPhonePKValid()
File
- tests/
phone-pk.test, line 16
Class
Code
public function testPhonePKValid() {
$this
->assertTrue(valid_phone_number('pk', '+92 321 7469854'), t('Test valid'));
$this
->assertTrue(valid_phone_number('pk', '923217469857'), t('Test valid'));
$this
->assertTrue(valid_phone_number('pk', '041 2680226'), t('Test valid'));
}