Changeset 56584
- Timestamp:
- 09/14/2023 11:45:51 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-template-utils.php
r56579 r56584 258 258 '`theme` attribute was not correctly injected in template part block.' 259 259 ); 260 261 // Does not inject theme when there is an existing theme attribute. 260 } 261 262 /** 263 * @ticket 59338 264 * 265 * @covers ::_inject_theme_attribute_in_template_part_block 266 */ 267 public function test_not_inject_theme_attribute_in_template_part_block_theme_attribute_exists() { 262 268 $template_part_block_with_existing_theme_attribute = array( 263 269 'blockName' => 'core/template-part', … … 280 286 'Existing `theme` attribute in template part block was not respected by attribute injection.' 281 287 ); 282 283 // Does not inject theme when there is no template part. 288 } 289 290 /** 291 * @ticket 59338 292 * 293 * @covers ::_inject_theme_attribute_in_template_part_block 294 */ 295 public function test_not_inject_theme_attribute_non_template_part_block() { 284 296 $non_template_part_block = array( 285 297 'blockName' => 'core/post-content',
Note: See TracChangeset
for help on using the changeset viewer.