TestMigrateExecutable.php in Drupal 8
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Tests\migrate\KernelFile
core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.phpView source
<?php
namespace Drupal\Tests\migrate\Kernel;
use Drupal\migrate\MigrateExecutable;
/**
* Tests MigrateExecutable.
*/
class TestMigrateExecutable extends MigrateExecutable {
/**
* {@inheritdoc}
*/
protected function getIdMap() {
// This adds test coverage that this works.
return new TestFilterIterator(parent::getIdMap());
}
/**
* {@inheritdoc}
*/
protected function getSource() {
// This adds test coverage that this works.
return new TestFilterIterator(parent::getSource());
}
}
Classes
Name | Description |
---|---|
TestMigrateExecutable | Tests MigrateExecutable. |