You are here

public function PLPhoneNumberTestCase::testPhonePLValid in Phone 7

Same name and namespace in other branches
  1. 6 tests/phone-pl.test \PLPhoneNumberTestCase::testPhonePLValid()

File

tests/phone.pl.test, line 16

Class

PLPhoneNumberTestCase

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'));
}