Changeset 57627 for trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
- Timestamp:
- 02/13/2024 03:10:21 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/getHookedBlocks.php
r57172 r57627 137 137 * @ticket 59313 138 138 * @ticket 60008 139 * @ticket 60506 139 140 * 140 141 * @covers ::get_hooked_blocks … … 151 152 ); 152 153 $this->assertStringContainsString( 153 '<!-- wp:post-content {"layout":{"type":"constrained"} ,"metadata":{"ignoredHookedBlocks":["tests/hooked-after"]}} /-->'154 '<!-- wp:post-content {"layout":{"type":"constrained"}} /-->' 154 155 . '<!-- wp:tests/hooked-after /-->', 155 156 $template->content … … 168 169 * @ticket 59313 169 170 * @ticket 60008 171 * @ticket 60506 170 172 * 171 173 * @covers ::get_hooked_blocks … … 179 181 $this->assertStringContainsString( 180 182 '<!-- wp:tests/hooked-before /-->' 181 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"} ,"metadata":{"ignoredHookedBlocks":["tests/hooked-before"]}} /-->',183 . '<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->', 182 184 $template->content 183 185 ); … … 199 201 * @ticket 59313 200 202 * @ticket 60008 203 * @ticket 60506 201 204 * 202 205 * @covers ::get_hooked_blocks … … 219 222 ); 220 223 $this->assertStringContainsString( 221 '<!-- wp:comments {"metadata":{"ignoredHookedBlocks":["tests/hooked-first-child"]}}-->'224 '<!-- wp:comments -->' 222 225 . '<div class="wp-block-comments">' 223 226 . '<!-- wp:tests/hooked-first-child /-->',
Note: See TracChangeset
for help on using the changeset viewer.