You are here

public function MigrateCaptchaPointsTest::testCaptchaPointsMigration in CAPTCHA 8

Tests that all expected configuration gets migrated.

File

tests/src/Kernel/Migrate/d7/MigrateCaptchaPointsTest.php, line 87

Class

MigrateCaptchaPointsTest
Migrates various configuration objects owned by the captcha module.

Namespace

Drupal\Tests\captcha\Kernel\Migrate\d7

Code

public function testCaptchaPointsMigration() {

  // Test captcha points.
  foreach ($this->captchaPoints as $captcha_point) {
    $this
      ->assertEntity($captcha_point['form_id'], $captcha_point['captcha_type'], $captcha_point['status']);
  }
}