public function ESPhoneNumberTestCase::testPhoneESValid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.es.test \ESPhoneNumberTestCase::testPhoneESValid()
File
- tests/
phone-es.test, line 16
Class
Code
public function testPhoneESValid() {
$this
->assertTrue(valid_phone_number('es', '972367087'), t('Test valid - 972367087'));
$this
->assertTrue(valid_phone_number('es', '97-3770866'), t('Test valid - 97-3770866'));
$this
->assertTrue(valid_phone_number('es', '972-377086'), t('Test valid - 972-377086'));
}