Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / taxonomy / tests / src / Unit / Plugin / migrate / cckfield / TaxonomyTermReferenceCckTest.php
index 437fd67e270a8c02069e859b441567fdf351ca9e..48af5687fec935cca8142ea1a620ae0498fc1d79 100644 (file)
@@ -44,11 +44,15 @@ class TaxonomyTermReferenceCckTest extends UnitTestCase {
     $this->migration = $migration->reveal();
   }
 
+  public function testProcessCckFieldValues() {
+    $this->testDefineValueProcessPipeline('processCckFieldValues');
+  }
+
   /**
-   * @covers ::processCckFieldValues
+   * @covers ::defineValueProcessPipeline
    */
-  public function testProcessCckFieldValues() {
-    $this->plugin->processFieldValues($this->migration, 'somefieldname', []);
+  public function testDefineValueProcessPipeline($method = 'defineValueProcessPipeline') {
+    $this->plugin->$method($this->migration, 'somefieldname', []);
 
     $expected = [
       'plugin' => 'sub_process',