public function SkipOnEmptyTest::testRowSkipsOnEmpty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php \Drupal\Tests\migrate\Unit\process\SkipOnEmptyTest::testRowSkipsOnEmpty()
@covers ::row @expectedException \Drupal\migrate\MigrateSkipRowException
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ SkipOnEmptyTest.php, line 44 - Contains \Drupal\Tests\migrate\Unit\process\SkipOnEmptyTest.
Class
- SkipOnEmptyTest
- Tests the skip on empty process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testRowSkipsOnEmpty() {
$configuration['method'] = 'row';
(new SkipOnEmpty($configuration, 'skip_on_empty', []))
->transform('', $this->migrateExecutable, $this->row, 'destinationproperty');
}