You are here

constant SmartSqlMigrateExecutableTest::MIGRATION in Smart SQL ID Map 1.1.x

The migration definition we test our sql plugin with.

@const array

File

tests/src/Kernel/SmartSqlMigrateExecutableTest.php, line 27

Class

SmartSqlMigrateExecutableTest
Tests Smart SQL ID map's compatibility with core's MigrateExecutable.

Namespace

Drupal\Tests\smart_sql_idmap\Kernel

Code

const MIGRATION = [
  'id' => 'test_migration',
  'idMap' => [
    'plugin' => 'smart_sql',
  ],
  'source' => [
    'plugin' => 'embedded_data',
    'data_rows' => [],
    'ids' => [
      'source_id' => [
        'type' => 'integer',
      ],
    ],
  ],
  'process' => [
    'value' => 'destination_id',
  ],
  'destination' => [
    'plugin' => 'dummy',
  ],
];