Files
farmOS-dev/web/modules/token/tests/src/Kernel/ValidateD6MigrationStateTest.php
2024-12-10 15:08:16 +01:00

27 lines
737 B
PHP

<?php
namespace Drupal\Tests\token\Kernel;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
use Drupal\Tests\migrate_drupal\Traits\ValidateMigrationStateTestTrait;
/**
* Tests that the token test has a declared D6 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 token
*/
class ValidateD6MigrationStateTest extends MigrateDrupal6TestBase {
use ValidateMigrationStateTestTrait;
/**
* {@inheritdoc}
*/
protected static $modules = ['token'];
}