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