Changeset 55466 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 03/06/2023 03:01:33 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r55369 r55466 162 162 163 163 $comment = get_comment( $comment_id ); 164 $this->assert Equals( '<a href="http://example.localhost/something.html" rel="nofollow ugc">click</a>', $comment->comment_content, 'Comment: ' . $comment->comment_content );164 $this->assertSame( '<a href="http://example.localhost/something.html" rel="nofollow ugc">click</a>', $comment->comment_content, 'Comment: ' . $comment->comment_content ); 165 165 wp_set_current_user( 0 ); 166 166 }
Note: See TracChangeset
for help on using the changeset viewer.