public function SGPhoneNumberTestCase::testPhoneSGInvalid in Phone 7
Same name and namespace in other branches
- 6 tests/phone-sg.test \SGPhoneNumberTestCase::testPhoneSGInvalid()
File
- tests/
phone.sg.test, line 31
Class
Code
public function testPhoneSGInvalid() {
$this
->assertFalse(valid_phone_number('sg', '6123-4567'), t('Test invalid '));
$this
->assertFalse(valid_phone_number('sg', '6-CALL-CPY'), t('Test invalid '));
$this
->assertFalse(valid_phone_number('sg', '6123abcd'), t('Test invalid '));
}