You are here

private property HttpTest::$specificMigrationConfig in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/data_fetcher/HttpTest.php \Drupal\Tests\migrate_plus\Unit\data_fetcher\HttpTest::specificMigrationConfig

Minimal migration configuration data.

Type: array

File

tests/src/Unit/data_fetcher/HttpTest.php, line 32
PHPUnit tests for the Migrate Plus Http 'data fetcher' plugin.

Class

HttpTest
@coversDefaultClass \Drupal\migrate_plus\Plugin\migrate_plus\data_fetcher\Http

Namespace

Drupal\Tests\migrate_plus\Unit\data_fetcher

Code

private $specificMigrationConfig = [
  'source' => 'url',
  'urls' => [
    'http://example.org/http_fetcher_test',
  ],
  'data_fetcher_plugin' => 'http',
  'data_parser_plugin' => 'json',
  'item_selector' => 0,
  'authentication' => [
    'plugin' => 'basic',
    'username' => 'testing',
    'password' => 'password',
  ],
  'fields' => [],
  'ids' => [
    'id' => [
      'type' => 'integer',
    ],
  ],
];