3 namespace Drupal\Tests\migrate_drupal\Unit\source;
5 use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase;
8 * Tests the variable source plugin.
10 * @group migrate_drupal
12 class VariableTest extends MigrateSqlSourceTestCase {
14 const PLUGIN_CLASS = 'Drupal\migrate_drupal\Plugin\migrate\source\Variable';
16 protected $migrationConfiguration = [
18 'highWaterProperty' => ['field' => 'test'],
20 'plugin' => 'd6_variable',
28 protected $expectedResults = [
36 protected $databaseContents = [
38 ['name' => 'foo', 'value' => 'i:1;'],
39 ['name' => 'bar', 'value' => 'b:0;'],