You are here

public function ConfigTest::testGlobalSchema in Telephone Validation 8.2

Tests if global schema is valid.

File

tests/src/Kernel/ConfigTest.php, line 21

Class

ConfigTest
@group telephone

Namespace

Drupal\Tests\telephone_validation\Kernel

Code

public function testGlobalSchema() {
  $config = $this
    ->config('telephone_validation.settings');
  $config
    ->set('format', 1);
  $config
    ->set('country', []);
  $config
    ->save();
}