You are here

public function PLPhoneNumberTestCase::testPhonePLInvalid in Phone 7

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

File

tests/phone.pl.test, line 22

Class

PLPhoneNumberTestCase

Code

public function testPhonePLInvalid() {
  $this
    ->assertFalse(valid_phone_number('pl', '+47 100-100-100'), t('Test invalid '));
  $this
    ->assertFalse(valid_phone_number('pl', '1000-100-100'), t('Test invalid '));
  $this
    ->assertFalse(valid_phone_number('pl', '1000000000'), t('Test invalid '));
}