Commit 4d7903f2 authored by alexpott's avatar alexpott

Issue #2533980 by phenaproxima: Move module-specific migration support into the action module

parent 24d34910
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\source\d6\Action.
* Contains \Drupal\action\Plugin\migrate\source\d6\Action.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\source\d6;
namespace Drupal\action\Plugin\migrate\source\d6;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
......
......@@ -2,17 +2,18 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Tests\d6\MigrateActionConfigsTest.
* Contains \Drupal\action\Tests\Migrate\d6\MigrateActionConfigsTest.
*/
namespace Drupal\migrate_drupal\Tests\d6;
namespace Drupal\action\Tests\Migrate\d6;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
/**
* Upgrade variables to action.settings.yml.
*
* @group migrate_drupal
* @group action
*/
class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
......
......@@ -2,23 +2,23 @@
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\ActionTest.
* Contains \Drupal\Tests\action\Unit\Plugin\migrate\source\d6\ActionTest.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
namespace Drupal\Tests\action\Unit\Plugin\migrate\source\d6;
use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase;
/**
* Tests D6 actions source plugin.
*
* @group migrate_drupal
* @group action
*/
class ActionTest 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\Action';
const PLUGIN_CLASS = 'Drupal\action\Plugin\migrate\source\d6\Action';
// 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