From 6de3f66b0a0560969d6328864e2125fdf323c6b7 Mon Sep 17 00:00:00 2001 From: Ramon Date: Fri, 16 Aug 2024 11:57:00 +1000 Subject: [PATCH] Background block supports: remove unused properties in unit tests (#64564) Co-authored-by: ramonjd Co-authored-by: andrewserong --- phpunit/block-supports/background-test.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/phpunit/block-supports/background-test.php b/phpunit/block-supports/background-test.php index 4c949fa82257d..c698f9e7c2f1c 100644 --- a/phpunit/block-supports/background-test.php +++ b/phpunit/block-supports/background-test.php @@ -122,7 +122,7 @@ public function test_background_block_support( $theme_name, $block_name, $backgr */ public function data_background_block_support() { return array( - 'background image style is applied to uploaded images' => array( + 'background image style is applied' => array( 'theme_name' => 'block-theme-child-with-fluid-typography', 'block_name' => 'test/background-rules-are-output', 'background_settings' => array( @@ -131,7 +131,6 @@ public function data_background_block_support() { 'background_style' => array( 'backgroundImage' => array( 'url' => 'https://example.com/image.jpg', - 'id' => 123, ), ), 'expected_wrapper' => '
Content
', @@ -158,7 +157,6 @@ public function data_background_block_support() { 'background_style' => array( 'backgroundImage' => array( 'url' => 'https://example.com/image.jpg', - 'id' => 123, ), 'backgroundRepeat' => 'no-repeat', 'backgroundSize' => 'contain', @@ -176,7 +174,6 @@ public function data_background_block_support() { 'background_style' => array( 'backgroundImage' => array( 'url' => 'https://example.com/image.jpg', - 'id' => 123, ), ), 'expected_wrapper' => '
Content
', @@ -191,7 +188,6 @@ public function data_background_block_support() { 'background_style' => array( 'backgroundImage' => array( 'url' => 'https://example.com/image.jpg', - 'id' => 123, ), ), 'expected_wrapper' => '
Content
', @@ -206,7 +202,6 @@ public function data_background_block_support() { 'background_style' => array( 'backgroundImage' => array( 'url' => 'https://example.com/image.jpg', - 'id' => 123, ), ), 'expected_wrapper' => '
Content
',