diff --git a/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php b/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php index eb5f7eacab463ca98ff6c01045a0d586e18d67b9..f633debad867894db63f4ab827d3d4340ad5419a 100644 --- a/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php +++ b/core/modules/filter/tests/src/Kernel/Plugin/migrate/process/FilterIdTest.php @@ -87,31 +87,25 @@ public function testTransform($value, $expected_value, $invalid_id = NULL) { */ public function provideFilters() { return [ - // The filter ID is mapped, and the plugin exists. - [ + 'filter ID mapped to plugin that exists' => [ 'foo', 'filter_html', ], - // The filter ID isn't mapped, but it's unchanged from the source (i.e., - // it bypasses the static map) and the plugin exists. - [ + 'filter ID not mapped but unchanged from the source and the plugin exists' => [ 'filter_html', 'filter_html', ], - // The filter ID is mapped, but the plugin does not exist. - [ + 'filter ID mapped to plugin that does not exist' => [ 'baz', 'filter_null', 'php_code', ], - // The filter ID isn't mapped, but it's unchanged from the source (i.e., - // it bypasses the static map) but the plugin does not exist. - [ + 'filter ID not mapped but unchanged from the source and the plugin does not exist' => [ 'php_code', 'filter_null', 'php_code', ], - [ + 'filter ID set and the plugin does not exist' => [ ['filter', 1], 'filter_null', 'filter:1',