ValidateD7MigrationStateTest.php in Address 8
Namespace
Drupal\Tests\address\KernelFile
tests/src/Kernel/ValidateD7MigrationStateTest.phpView 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
Name![]() |
Description |
---|---|
ValidateD7MigrationStateTest | Tests that the address test has a declared migration status. |