Changeset 57157 for trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
- Timestamp:
- 12/04/2023 08:24:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
r56805 r57157 150 150 ); 151 151 $this->assertStringContainsString( 152 '<!-- wp:post-content {"layout":{"type":"constrained"} } /-->'152 '<!-- wp:post-content {"layout":{"type":"constrained"},"metadata":{"ignoredHookedBlocks":["tests/hooked-after"]}} /-->' 153 153 . '<!-- wp:tests/hooked-after /-->', 154 154 $template->content … … 177 177 $this->assertStringContainsString( 178 178 '<!-- wp:tests/hooked-before /-->' 179 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"} } /-->',179 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"metadata":{"ignoredHookedBlocks":["tests/hooked-before"]}} /-->', 180 180 $template->content 181 181 ); … … 216 216 ); 217 217 $this->assertStringContainsString( 218 '<!-- wp:comments -->'218 '<!-- wp:comments {"metadata":{"ignoredHookedBlocks":["tests/hooked-first-child"]}} -->' 219 219 . '<div class="wp-block-comments">' 220 220 . '<!-- wp:tests/hooked-first-child /-->',
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)