Skip to content

Commit

Permalink
fix markup of demo block
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Feb 7, 2024
1 parent 2215433 commit 2ceb918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/blocks/class-wp-navigation-block-renderer-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function test_gutenberg_block_not_automatically_wrapped_with_li_tag() {

// We are testing the site title block because we manually add list items around it.
$parsed_blocks = parse_blocks(
'<!-- wp:testsuite/sample-block {"content":"Hello World"} --><div class="wp-block-testsuite-sample-block">Hello World</div><!-- /wp:testsuite/sample-block -->'
'<!-- wp:testsuite/sample-block {"content":"Hello World"} /-->'
);
$parsed_block = $parsed_blocks[0];
$context = array();
Expand Down Expand Up @@ -138,7 +138,7 @@ public function test_gutenberg_block_is_automatically_wrapped_with_li_tag_when_f

// We are testing the site title block because we manually add list items around it.
$parsed_blocks = parse_blocks(
'<!-- wp:testsuite/sample-block {"content":"Hello World"} --><div class="wp-block-testsuite-sample-block">Hello World</div><!-- /wp:testsuite/sample-block -->'
'<!-- wp:testsuite/sample-block {"content":"Hello World"} /-->'
);
$parsed_block = $parsed_blocks[0];
$context = array();
Expand Down

0 comments on commit 2ceb918

Please sign in to comment.