public function TaxonomyTermReferenceCckTest::testDefineValueProcessPipeline in Drupal 8
@covers ::defineValueProcessPipeline
2 calls to TaxonomyTermReferenceCckTest::testDefineValueProcessPipeline()
- TaxonomyTermReferenceCckLegacyTest::testDefineValueProcessPipeline in core/
modules/ taxonomy/ tests/ src/ Unit/ Plugin/ migrate/ cckfield/ TaxonomyTermReferenceCckLegacyTest.php - @expectedDeprecation Deprecated in Drupal 8.6.0, to be removed before Drupal 9.0.0. Use defineValueProcessPipeline() instead. See https://www.drupal.org/node/2944598.
- TaxonomyTermReferenceCckTest::testProcessCckFieldValues in core/
modules/ taxonomy/ tests/ src/ Unit/ Plugin/ migrate/ cckfield/ TaxonomyTermReferenceCckTest.php
1 method overrides TaxonomyTermReferenceCckTest::testDefineValueProcessPipeline()
- TaxonomyTermReferenceCckLegacyTest::testDefineValueProcessPipeline in core/
modules/ taxonomy/ tests/ src/ Unit/ Plugin/ migrate/ cckfield/ TaxonomyTermReferenceCckLegacyTest.php - @expectedDeprecation Deprecated in Drupal 8.6.0, to be removed before Drupal 9.0.0. Use defineValueProcessPipeline() instead. See https://www.drupal.org/node/2944598.
File
- core/
modules/ taxonomy/ tests/ src/ Unit/ Plugin/ migrate/ cckfield/ TaxonomyTermReferenceCckTest.php, line 54
Class
- TaxonomyTermReferenceCckTest
- @coversDefaultClass \Drupal\taxonomy\Plugin\migrate\cckfield\TaxonomyTermReference @group taxonomy @group legacy
Namespace
Drupal\Tests\taxonomy\Unit\Plugin\migrate\cckfieldCode
public function testDefineValueProcessPipeline($method = 'defineValueProcessPipeline') {
$this->plugin
->{$method}($this->migration, 'somefieldname', []);
$expected = [
'plugin' => 'sub_process',
'source' => 'somefieldname',
'process' => [
'target_id' => 'tid',
],
];
$this
->assertSame($expected, $this->migration
->getProcess());
}