public function BEPhoneNumberTestCase::testPhoneBEValid in Phone 6
Same name and namespace in other branches
- 7 tests/phone.be.test \BEPhoneNumberTestCase::testPhoneBEValid()
File
- tests/
phone-be.test, line 16
Class
Code
public function testPhoneBEValid() {
$this
->assertTrue(valid_phone_number('be', '023456789'), '"023456789" should be valid');
$this
->assertTrue(valid_phone_number('be', '0478990011'), '"0478990011" should be valid');
$this
->assertTrue(valid_phone_number('be', '01 234 56 78'), '"01 234 56 78" should be valid');
$this
->assertTrue(valid_phone_number('be', '+32 12345678'), '"+32 12345678" should be valid');
}