From c171093ced68e19a823358530d6d3355bb1215da Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Sat, 10 Oct 2026 23:23:45 +0530 Subject: [PATCH] Tests: Use a strict assertion in Heading block tests --- phpunit/blocks/render-block-heading-test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/blocks/render-block-heading-test.php b/phpunit/blocks/render-block-heading-test.php index 59425f25aafd62..0a40d4b4b29164 100644 --- a/phpunit/blocks/render-block-heading-test.php +++ b/phpunit/blocks/render-block-heading-test.php @@ -20,7 +20,7 @@ class Render_Block_Heading_Test extends WP_UnitTestCase { */ public function test_block_core_heading_render_appends_css_class_to_a_vanilla_element( $input, $expected_result ) { $actual = gutenberg_block_core_heading_render( array(), $input ); - $this->assertEquals( $expected_result, $actual ); + $this->assertSame( $expected_result, $actual ); } public function add_css_class_test_examples() {