You are here

public function CLPhoneNumberTestCase::testPhoneCLValid in Phone 6

Same name and namespace in other branches
  1. 7 tests/phone.cl.test \CLPhoneNumberTestCase::testPhoneCLValid()

File

tests/phone-cl.test, line 16

Class

CLPhoneNumberTestCase

Code

public function testPhoneCLValid() {
  $this
    ->assertTrue(valid_phone_number('cl', '(041)245-9848'), t('Test valid'));
  $this
    ->assertTrue(valid_phone_number('cl', '(063)421-232'), t('Test valid'));
}