public function CommercePriceTest::providerTestNotArray in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/tests/src/Unit/Plugin/migrate/process/commerce1/CommercePriceTest.php \Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1\CommercePriceTest::providerTestNotArray()
- 3.0.x modules/commerce/tests/src/Unit/Plugin/migrate/process/commerce1/CommercePriceTest.php \Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1\CommercePriceTest::providerTestNotArray()
Data provider for testSubstr().
File
- modules/
commerce/ tests/ src/ Unit/ Plugin/ migrate/ process/ commerce1/ CommercePriceTest.php, line 87
Class
- CommercePriceTest
- Tests the Commerce Price plugin.
Namespace
Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1Code
public function providerTestNotArray() {
// Test input not an array.
$tests[0]['value'] = NULL;
$tests[1]['value'] = 'string';
$tests[2]['value'] = 1;
return $tests;
}