X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flink%2Ftests%2Fsrc%2FKernel%2FPlugin%2Fmigrate%2Fcckfield%2Fd7%2FLinkCckTest.php;h=d1e55d10a4b184b226e5aa278441d64de4e65934;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=896c15c9fca01d125d086787df7c83c6367bc784;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/link/tests/src/Kernel/Plugin/migrate/cckfield/d7/LinkCckTest.php b/web/core/modules/link/tests/src/Kernel/Plugin/migrate/cckfield/d7/LinkCckTest.php index 896c15c9f..d1e55d10a 100644 --- a/web/core/modules/link/tests/src/Kernel/Plugin/migrate/cckfield/d7/LinkCckTest.php +++ b/web/core/modules/link/tests/src/Kernel/Plugin/migrate/cckfield/d7/LinkCckTest.php @@ -39,7 +39,7 @@ class LinkCckTest 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(). @@ -52,10 +52,10 @@ class LinkCckTest extends KernelTestBase { } /** - * @covers ::processCckFieldValues + * @covers ::alterFieldInstanceMigration */ - public function testProcessCckFieldValues() { - $this->plugin->processFieldInstance($this->migration); + public function testAlterFieldInstanceMigration($method = 'alterFieldInstanceMigration') { + $this->plugin->$method($this->migration); $expected = [ 'plugin' => 'static_map',