Changeset 54949 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 12/08/2022 03:07:45 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r54527 r54949 524 524 * @covers ::wp_new_comment 525 525 */ 526 public function test_ comment_field_lengths() {526 public function test_wp_new_comment_respects_comment_field_lengths() { 527 527 $data = array( 528 528 'comment_post_ID' => self::$post_id, … … 540 540 $comment = get_comment( $id ); 541 541 542 $this->assertSame( strlen( $comment->comment_content ), 65535);542 $this->assertSame( 65535, strlen( $comment->comment_content ) ); 543 543 } 544 544 545 545 /** 546 546 * @ticket 56244 547 * 548 * @covers ::wp_new_comment 547 549 */ 548 550 public function test_wp_new_comment_sends_all_expected_parameters_to_preprocess_comment_filter() {
Note: See TracChangeset
for help on using the changeset viewer.