You are here

public function ZAPhoneNumberTestCase::testPhoneZAFormatting in Phone 6

Same name and namespace in other branches
  1. 7 tests/phone.za.test \ZAPhoneNumberTestCase::testPhoneZAFormatting()

File

tests/phone-za.test, line 43

Class

ZAPhoneNumberTestCase

Code

public function testPhoneZAFormatting() {
  $this
    ->assertEqual(format_phone_number('za', '082 123 1234', null), '082 123 1234', 'Formatting OK "082 123 1234" --> "082 123 1234"');
}