diff --git a/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php b/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php index f554d7f0fc..946d1e38c5 100644 --- a/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php +++ b/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php @@ -51,6 +51,8 @@ public function testMigrateColor() { ]; $this->assertSame($palette, $config->get('palette')); $this->assertSame(['public://color/bartik-e0e23ad7/colors.css'], $config->get('stylesheets')); + // Test that the screenshot was not migrated. + $this->assertNull($config->get('screenshot')); // Test that garland was not migrated. $this->assertEmpty(\Drupal::config('color.theme.garland')->get()); diff --git a/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php b/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php index b9f9a5a5af..cb634a9c63 100644 --- a/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php +++ b/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php @@ -61,7 +61,7 @@ public function providerSource() { ], [ 'name' => 'color_custom_stylesheets', - 'value' => ['public:://color/custom-beadedff/screenshot.png'], + 'value' => ['public:://color/custom-beadedff/colors.css'], ], ]; @@ -119,7 +119,7 @@ public function providerSource() { ], [ 'name' => 'color_custom_stylesheets', - 'value' => ['public:://color/custom-beadedff/screenshot.png'], + 'value' => ['public:://color/custom-beadedff/colors.css'], ], ];