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