diff --git a/tests/unit/CoreHeadingTest.php b/tests/unit/CoreHeadingTest.php index 4af5c7f1..bffc150c 100644 --- a/tests/unit/CoreHeadingTest.php +++ b/tests/unit/CoreHeadingTest.php @@ -434,4 +434,60 @@ public function test_retrieve_core_heading_with_gradient() { $attributes ); } + + /** + * Test retrieval of core/heading block with lock attribute. + * + * @return void + */ + public function test_retrieve_core_heading_with_lock() { + $block_content = ' + +

Locked Heading

+