- Timestamp:
- 05/26/2025 12:03:18 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php
r59970 r60251 3443 3443 $this->assertSame( $comment->comment_agent, $data['author_user_agent'] ); 3444 3444 $this->assertSame( $comment->comment_content, $data['content']['raw'] ); 3445 } 3446 3447 if ( 'edit' !== $context ) { 3445 } else { 3448 3446 $this->assertArrayNotHasKey( 'author_email', $data ); 3449 3447 $this->assertArrayNotHasKey( 'author_ip', $data );
Note:
See TracChangeset
for help on using the changeset viewer.