Skip to content
Snippets Groups Projects
Commit 3a0537b0 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent e47b6a77
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment