You are here

public function PKPhoneNumberTestCase::testPhonePKInvalid in Phone 6

Same name and namespace in other branches
  1. 7 tests/phone.pk.test \PKPhoneNumberTestCase::testPhonePKInvalid()

File

tests/phone-pk.test, line 22

Class

PKPhoneNumberTestCase

Code

public function testPhonePKInvalid() {
  $this
    ->assertFalse(valid_phone_number('pk', '00124566'), t('Test invalid'));
  $this
    ->assertFalse(valid_phone_number('pk', '01 922 745689'), t('Test invalid'));
  $this
    ->assertFalse(valid_phone_number('pk', '0000000000'), t('Test invalid'));
}