Skip to content

Commit

Permalink
Revert "This time I've tried to think it through"
Browse files Browse the repository at this point in the history
This reverts commit 70b2d16.
  • Loading branch information
ockham committed Apr 20, 2022
1 parent 70b2d16 commit 3c3eb99
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions phpunit/class-block-library-comment-template-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,14 @@ function test_rendering_comment_template() {
*
* └─ comment 1
*   └─ comment 2
*    └─ comment 3
*    └─ comment 4
*    └─ comment 5
*   └─ comment 3
*/
function test_rendering_comment_template_nested() {
$first_level_ids = self::factory()->comment->create_post_comments(
self::$custom_post->ID,
1,
2,
array(
'comment_parent' => self::$comment_ids[0],
'comment_author' => 'Test',
Expand Down Expand Up @@ -235,6 +236,16 @@ function test_rendering_comment_template_nested() {
</li>
</ol>
</li>
<li id="comment-{$first_level_ids[1]}" class="comment odd depth-2">
<div class="has-small-font-size wp-block-comment-author-name">
<a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >
Test
</a>
</div>
<div class="wp-block-comment-content">
Hello world
</div>
</li>
</ol>
</li>
</ol>
Expand Down

0 comments on commit 3c3eb99

Please sign in to comment.