Skip to content
Prev Previous commit
Next Next commit
Add one more test case
  • Loading branch information
ockham committed Sep 11, 2023
commit f8a23a6cb28062aa5800a7b880415d47e3f83b1c
6 changes: 6 additions & 0 deletions tests/phpunit/tests/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ public function data_build_block_template_result_from_file_injects_theme_attribu
'template-with-template-part-with-existing-theme-attribute.html',
'<!-- wp:template-part {"slug":"header","theme":"fake-theme","align":"full", "tagName":"header","className":"site-header"} /-->',
),
array(
'template.html',
'<!-- wp:paragraph -->
<p>Just a paragraph</p>
<!-- /wp:paragraph -->',
),
);
}

Expand Down