Changeset 58186 for trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
- Timestamp:
- 05/23/2024 06:33:11 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
r57627 r58186 152 152 ); 153 153 $this->assertStringContainsString( 154 '<!-- wp:post-content {"layout":{"type":"constrained"} } /-->'154 '<!-- wp:post-content {"layout":{"type":"constrained"},"metadata":{"ignoredHookedBlocks":["tests/hooked-after"]}} /-->' 155 155 . '<!-- wp:tests/hooked-after /-->', 156 156 $template->content … … 181 181 $this->assertStringContainsString( 182 182 '<!-- wp:tests/hooked-before /-->' 183 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"} } /-->',183 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"metadata":{"ignoredHookedBlocks":["tests/hooked-before"]}} /-->', 184 184 $template->content 185 185 ); … … 222 222 ); 223 223 $this->assertStringContainsString( 224 '<!-- wp:comments -->'224 '<!-- wp:comments {"metadata":{"ignoredHookedBlocks":["tests/hooked-first-child"]}} -->' 225 225 . '<div class="wp-block-comments">' 226 226 . '<!-- wp:tests/hooked-first-child /-->',
Note: See TracChangeset
for help on using the changeset viewer.