Commit 3a0537b0 authored by alexpott's avatar alexpott

Issue #2534014 by phenaproxima: Move module-specific migration support into the filter module

parent e47b6a77
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\source\d6\FilterFormat.
* Contains \Drupal\filter\Plugin\migrate\source\d6\FilterFormat.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\source\d6;
namespace Drupal\filter\Plugin\migrate\source\d6;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
use Drupal\migrate\Row;
......
......@@ -2,15 +2,17 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Tests\d6\MigrateFilterFormatTest.
* Contains \Drupal\filter\Tests\Migrate\d6\MigrateFilterFormatTest.
*/
namespace Drupal\migrate_drupal\Tests\d6;
namespace Drupal\filter\Tests\Migrate\d6;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
/**
* Upgrade variables to filter.formats.*.yml.
*
* @group migrate_drupal
* @group filter
*/
class MigrateFilterFormatTest extends MigrateDrupal6TestBase {
......
......@@ -2,23 +2,23 @@
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\FilterFormatTest.
* Contains \Drupal\Tests\filter\Unit\Plugin\migrate\source\d6\FilterFormatTest.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
namespace Drupal\Tests\filter\Unit\Plugin\migrate\source\d6;
use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase;
/**
* Tests D6 filter_formats table source plugin.
*
* @group migrate_drupal
* @group filter
*/
class FilterFormatTest extends MigrateSqlSourceTestCase {
// The plugin system is not working during unit testing so the source plugin
// class needs to be manually specified.
const PLUGIN_CLASS = 'Drupal\migrate_drupal\Plugin\migrate\source\d6\FilterFormat';
const PLUGIN_CLASS = 'Drupal\filter\Plugin\migrate\source\d6\FilterFormat';
// The fake Migration configuration entity.
protected $migrationConfiguration = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment