diff --git a/phpunit/style-engine/class-wp-style-engine-css-declarations-test.php b/phpunit/style-engine/class-wp-style-engine-css-declarations-test.php index e94daf697a7bff..5380cc81d58314 100644 --- a/phpunit/style-engine/class-wp-style-engine-css-declarations-test.php +++ b/phpunit/style-engine/class-wp-style-engine-css-declarations-test.php @@ -121,12 +121,12 @@ public function test_should_strip_html_tags_and_remove_unsafe_css_properties() { /** - * Tests that calc, clamp, min, max, minmax CSS functions and --wp--* CSS custom properties are allowed. + * Tests that calc, clamp, min, max, minmax CSS functions and CSS custom properties are allowed. * * @covers ::get_declarations_string * @covers ::filter_declaration */ - public function test_should_allow_css_functions_and_strip_unsafe_css_values() { + public function test_should_allow_css_functions_and_custom_properties_and_strip_unsafe_css_values() { $input_declarations = array( 'background' => 'var(--wp--preset--color--primary, 10px)', // Simple var(). 'font-size' => 'clamp(36.00rem, calc(32.00rem + 10.00vw), 40.00rem)', // Nested clamp().