public function FieldTest::dataProviderTargetUnique in Feeds 8.3
Data provider for ::testTargetUnique().
Check if text fields, integer fields and decimal fields can be used as unique target.
File
- tests/
src/ Kernel/ Feeds/ Target/ FieldTest.php, line 342
Class
- FieldTest
- Tests for mapping to text and numeric fields.
Namespace
Drupal\Tests\feeds\Kernel\Feeds\TargetCode
public function dataProviderTargetUnique() {
return [
[
'field_alpha',
'value',
2,
],
[
'field_beta',
'value',
3,
],
[
'field_gamma',
'value',
4,
],
];
}