You are here

public function MigrationTest::getProcessPluginsExceptionMessageProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
  2. 10 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()

Provides data for testing invalid process pipeline.

File

core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php, line 74

Class

MigrationTest
Tests the migration plugin.

Namespace

Drupal\Tests\migrate\Kernel\Plugin

Code

public function getProcessPluginsExceptionMessageProvider() {
  return [
    [
      'Null' => [
        'dest' => NULL,
      ],
    ],
    [
      'boolean' => [
        'dest' => TRUE,
      ],
    ],
    [
      'integer' => [
        'dest' => 2370,
      ],
    ],
    [
      'float' => [
        'dest' => 1.61,
      ],
    ],
  ];
}