You are here

ValidateD7MigrationStateTest.php in Address 8

File

tests/src/Kernel/ValidateD7MigrationStateTest.php
View source
<?php

namespace Drupal\Tests\address\Kernel;

use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
use Drupal\Tests\migrate_drupal\Traits\ValidateMigrationStateTestTrait;

/**
 * Tests that the address test has a declared migration status.
 *
 * ValidateMigrationStateTestTrait::testMigrationState() will succeed if the
 * modules enabled in \Drupal\Tests\KernelTestBase::bootKernel() have a valid
 * migration status (i.e.: finished or not_finished); but will fail if they do
 * not have a declared migration status.
 *
 * @group address
 */
class ValidateD7MigrationStateTest extends MigrateDrupal7TestBase {
  use ValidateMigrationStateTestTrait;

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'address',
  ];

}

Classes

Namesort descending Description
ValidateD7MigrationStateTest Tests that the address test has a declared migration status.