You are here

protected property MigrateIp2CountryConfigurationTest::$expectedConfig in IP-based Determination of a Visitor's Country 8

Same name in this branch
  1. 8 tests/src/Kernel/Migrate/d6/MigrateIp2CountryConfigurationTest.php \Drupal\Tests\ip2country\Kernel\Migrate\d6\MigrateIp2CountryConfigurationTest::expectedConfig
  2. 8 tests/src/Kernel/Migrate/d7/MigrateIp2CountryConfigurationTest.php \Drupal\Tests\ip2country\Kernel\Migrate\d7\MigrateIp2CountryConfigurationTest::expectedConfig

Expected contents of our configuration(s) after migration.

The fixture deliberately contains non-default values for all these variables in order to ensure they overwrite the default D8 values.

Type: array

File

tests/src/Kernel/Migrate/d6/MigrateIp2CountryConfigurationTest.php, line 34

Class

MigrateIp2CountryConfigurationTest
Migrates various configuration objects owned by the Ip2Country module.

Namespace

Drupal\Tests\ip2country\Kernel\Migrate\d6

Code

protected $expectedConfig = [
  // Same order as in config schema.
  'ip2country.settings' => [
    'watchdog' => FALSE,
    'rir' => 'lacnic',
    'update_interval' => 302400,
    'debug' => TRUE,
    'test_type' => 1,
    'test_country' => 'UZ',
    'test_ip_address' => '73.140.122.15',
  ],
];