public function AUPhoneNumberTestCase::testPhoneAUInvalid in Phone 7
Same name and namespace in other branches
- 6 tests/phone-au.test \AUPhoneNumberTestCase::testPhoneAUInvalid()
File
- tests/
phone.au.test, line 35
Class
Code
public function testPhoneAUInvalid() {
$this
->assertFalse(valid_phone_number('au', '0300'), t('Test invalid - 0300'));
$this
->assertFalse(valid_phone_number('au', '7612'), t('Test invalid - 7612'));
$this
->assertFalse(valid_phone_number('au', '2915'), t('Test invalid - 2915'));
$this
->assertFalse(valid_phone_number('au', '2415b'), t('Test invalid - 2415b'));
}