public function ESPhoneNumberTestCase::testPhoneESInvalid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.es.test \ESPhoneNumberTestCase::testPhoneESInvalid()
File
- tests/
phone-es.test, line 22
Class
Code
public function testPhoneESInvalid() {
$this
->assertFalse(valid_phone_number('es', '9988-989898'), t('Test invalid - 9988-989898'));
$this
->assertFalse(valid_phone_number('es', '989898988989'), t('Test invalid - 989898988989'));
$this
->assertFalse(valid_phone_number('es', '9 9898989898'), t('Test invalid - 9 9898989898'));
}