Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / link / tests / src / Kernel / Plugin / migrate / field / d7 / LinkFieldTest.php
index 494aa028896f8c47a0ede41e7c2372c741879884..37789dc007fd90fdd05a5ecef1a4400e3483c767 100644 (file)
@@ -38,7 +38,7 @@ class LinkFieldTest extends KernelTestBase {
 
     $migration = $this->prophesize(MigrationInterface::class);
 
-    // The plugin's ProcessFieldInstance() method will call
+    // The plugin's alterFieldInstanceMigration() method will call
     // mergeProcessOfProperty() and return nothing. So, in order to examine the
     // process pipeline created by the plugin, we need to ensure that
     // getProcess() always returns the last input to mergeProcessOfProperty().
@@ -51,10 +51,10 @@ class LinkFieldTest extends KernelTestBase {
   }
 
   /**
-   * @covers ::processFieldInstance
+   * @covers ::alterFieldInstanceMigration
    */
-  public function testProcessFieldInstance() {
-    $this->plugin->processFieldInstance($this->migration);
+  public function testAlterFieldInstanceMigration($method = 'alterFieldInstanceMigration') {
+    $this->plugin->$method($this->migration);
 
     $expected = [
       'plugin' => 'static_map',