public function SkipOnValueTest::testProcessSkipsOnMultipleValue in Migrate Plus 8.5
Same name and namespace in other branches
- 8.2 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testProcessSkipsOnMultipleValue()
- 8.3 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testProcessSkipsOnMultipleValue()
- 8.4 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testProcessSkipsOnMultipleValue()
@covers ::process
File
- tests/
src/ Unit/ process/ SkipOnValueTest.php, line 33
Class
- SkipOnValueTest
- Tests the skip on value process plugin.
Namespace
Drupal\Tests\migrate_plus\Unit\processCode
public function testProcessSkipsOnMultipleValue() : void {
$configuration['method'] = 'process';
$configuration['value'] = [
1,
1,
2,
3,
5,
8,
];
$this
->expectException(MigrateSkipProcessException::class);
(new SkipOnValue($configuration, 'skip_on_value', []))
->transform('5', $this->migrateExecutable, $this->row, 'destinationproperty');
}