public function PLPhoneNumberTestCase::testPhonePLValid in Phone 7
Same name and namespace in other branches
- 6 tests/phone-pl.test \PLPhoneNumberTestCase::testPhonePLValid()
File
- tests/
phone.pl.test, line 16
Class
Code
public function testPhonePLValid() {
$this
->assertTrue(valid_phone_number('pl', '+48 500-080-100'), t('Test valid'));
$this
->assertTrue(valid_phone_number('pl', '500080100'), t('Test valid'));
$this
->assertTrue(valid_phone_number('pl', '500 080 100'), t('Test valid'));
}