You are here

protected property MigrateCaptchaSimpleConfigurationTest::$expectedConfig in CAPTCHA 8

The expected configuration from the Captcha fixture.

Type: array[]

File

tests/src/Kernel/Migrate/d7/MigrateCaptchaSimpleConfigurationTest.php, line 24

Class

MigrateCaptchaSimpleConfigurationTest
Migrates various configuration objects owned by the captcha module.

Namespace

Drupal\Tests\captcha\Kernel\Migrate\d7

Code

protected $expectedConfig = [
  'captcha.settings' => [
    'enabled_default' => 1,
    'default_challenge' => 'captcha/Math',
    'description' => 'This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.',
    'administration_mode' => TRUE,
    'allow_on_admin_pages' => FALSE,
    'add_captcha_description' => TRUE,
    'default_validation' => 1,
    'persistence' => 1,
    'enable_stats' => TRUE,
    'log_wrong_responses' => TRUE,
  ],
];