You are here

public function AttributeDestinationTest::providerTestInvalidValue in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x modules/csv_example/tests/src/Unit/Plugin/migrate/process/AttributeDestinationTest.php \Drupal\Tests\commerce_migrate_csv_example\Unit\Plugin\migrate\process\AttributeDestinationTest::providerTestInvalidValue()
  2. 3.0.x modules/csv_example/tests/src/Unit/Plugin/migrate/process/AttributeDestinationTest.php \Drupal\Tests\commerce_migrate_csv_example\Unit\Plugin\migrate\process\AttributeDestinationTest::providerTestInvalidValue()

Data provider for testInvalidValue().

File

modules/csv_example/tests/src/Unit/Plugin/migrate/process/AttributeDestinationTest.php, line 70

Class

AttributeDestinationTest
Tests the Attribute Destination process plugin.

Namespace

Drupal\Tests\commerce_migrate_csv_example\Unit\Plugin\migrate\process

Code

public function providerTestInvalidValue() {
  return [
    'one argument' => [
      [
        'a',
      ],
    ],
    'three arguments' => [
      [
        'a',
        'b',
        'c',
      ],
    ],
  ];
}