public function FileFieldTest::testDefineValueProcessPipeline in Drupal 10
Same name in this branch
- 10 core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php \Drupal\Tests\file\Unit\Plugin\migrate\field\d6\FileFieldTest::testDefineValueProcessPipeline()
- 10 core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php \Drupal\Tests\file\Unit\Plugin\migrate\field\d7\FileFieldTest::testDefineValueProcessPipeline()
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php \Drupal\Tests\file\Unit\Plugin\migrate\field\d6\FileFieldTest::testDefineValueProcessPipeline()
- 9 core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php \Drupal\Tests\file\Unit\Plugin\migrate\field\d6\FileFieldTest::testDefineValueProcessPipeline()
@covers ::defineValueProcessPipeline
File
- core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ field/ d6/ FileFieldTest.php, line 51
Class
- FileFieldTest
- @coversDefaultClass \Drupal\file\Plugin\migrate\field\d6\FileField @group file
Namespace
Drupal\Tests\file\Unit\Plugin\migrate\field\d6Code
public function testDefineValueProcessPipeline($method = 'defineValueProcessPipeline') {
$this->plugin
->{$method}($this->migration, 'field_name', []);
$expected = [
'plugin' => 'd6_field_file',
'source' => 'field_name',
];
$this
->assertSame($expected, $this->migration
->getProcess());
}