You are here

public function SuggestedProductsTest::providerTestSuggestedProducts in Commerce Migrate 3.0.x

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

Data provider for testSuggestedProducts().

File

modules/csv_example/tests/src/Unit/Plugin/migrate/process/SuggestedProductsTest.php, line 32

Class

SuggestedProductsTest
Tests the suggested products process plugin.

Namespace

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

Code

public function providerTestSuggestedProducts() {
  return [
    'one' => [
      [
        'one',
        'two',
      ],
      [
        [
          'one',
        ],
        [
          'two',
        ],
      ],
    ],
  ];
}