Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy authored and getdave committed Feb 8, 2024
1 parent bc34eca commit 74e45c2
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 @@ -118,8 +118,8 @@ public function test_gutenberg_block_is_automatically_wrapped_with_li_tag_when_f
'testsuite/sample-block',
array(
'api_version' => 2,
'render_callback' => function ( $attributes, $content ) {
return '<div class="wp-block-testsuite-sample-block">' . $content . '</div>';
'render_callback' => function ( $attributes ) {
return '<div class="wp-block-testsuite-sample-block">' . $attributes['content'] . '</div>';
},
)
);
Expand Down

0 comments on commit 74e45c2

Please sign in to comment.