You are here

public function CommerceAdjustmentsTest::providerNoCommerceAdjustment in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process\CommerceAdjustmentsTest::providerNoCommerceAdjustment()
  2. 3.0.x tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process\CommerceAdjustmentsTest::providerNoCommerceAdjustment()

Data provider for providerInvalidCommerceAdjustments.

File

tests/src/Kernel/Plugin/migrate/process/CommerceAdjustmentsTest.php, line 177

Class

CommerceAdjustmentsTest
Tests the CommerceAdjustment plugin.

Namespace

Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\process

Code

public function providerNoCommerceAdjustment() {
  $tests = [
    // An string input.
    [
      'not an array',
      'not an array',
    ],
    [
      // An empty array.
      [],
      [],
    ],
  ];
  return $tests;
}