class MigrateUserMailTest extends MigrateDrupal7TestBase
{ /**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->
installConfig(['user'
]);
$this->
executeMigration('d7_user_mail'
);
} /**
* Tests the migration.
*/
public function testMigration() { $config =
$this->
config('user.mail'
);
$this->
assertSame('Your account is approved!',
$config->
get('status_activated.subject'
));
$this->
assertSame('Your account was activated, and there was much rejoicing.',
$config->
get('status_activated.body'
));
$this->
assertSame('Fix your password',
$config->
get('password_reset.subject'
));
$this->
assertSame("Nope! You're locked out forever.",
$config->
get('password_reset.body'
));