You are here

public function PhoneInternationalFieldTest::providerPhoneNumbers in International Phone 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/PhoneInternationalFieldTest.php \Drupal\Tests\phone_international\Functional\PhoneInternationalFieldTest::providerPhoneNumbers()
  2. 8 tests/src/Functional/PhoneInternationalFieldTest.php \Drupal\Tests\phone_international\Functional\PhoneInternationalFieldTest::providerPhoneNumbers()

Provides the phone numbers to check and expected results.

File

tests/src/Functional/PhoneInternationalFieldTest.php, line 135

Class

PhoneInternationalFieldTest
Simple test to ensure that main page loads with module enabled.

Namespace

Drupal\Tests\phone_international\Functional

Code

public function providerPhoneNumbers() {
  return [
    'standard phone number' => [
      '+123456789',
      '+123456789',
    ],
    'standard phone number country' => [
      '+351123456789',
      '+351123456789',
    ],
  ];
}