Changeset 58323 for trunk/tests/phpunit/tests/blocks/getBlockTemplates.php
- Timestamp:
- 06/04/2024 08:13:01 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/getBlockTemplates.php
r56971 r58323 189 189 * @dataProvider data_get_block_templates_should_respect_posttypes_property 190 190 * @ticket 55881 191 * @ticket 61110 191 192 * 192 193 * @param string $post_type Post type for query. … … 204 205 /** 205 206 * Data provider. 207 * 208 * The `custom-hero-template` is intentionally omitted from the theme.json's `customTemplates`. 209 * See: https://core.trac.wordpress.org/ticket/61110. 206 210 * 207 211 * @return array … … 212 216 'post_type' => 'post', 213 217 'expected' => array( 218 'block-theme//custom-hero-template', 214 219 'block-theme//custom-single-post-template', 215 220 ), … … 218 223 'post_type' => 'page', 219 224 'expected' => array( 225 'block-theme//custom-hero-template', 220 226 'block-theme//page-home', 221 227 ),
Note: See TracChangeset
for help on using the changeset viewer.