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