Changeset 36515
- Timestamp:
- 02/12/2016 02:17:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r36514 r36515 674 674 } 675 675 676 public function test_wp_get_comment_fields_max_lengths() { 677 $expected = array( 678 'comment_author' => 245, 679 'comment_author_email' => 100, 680 'comment_author_url' => 200, 681 'comment_content' => 65525, 682 ); 683 684 $lengths = wp_get_comment_fields_max_lengths(); 685 686 foreach ( $lengths as $field => $length ) { 687 $this->assertSame( $expected[ $field ], $length ); 688 } 689 } 676 690 }
Note: See TracChangeset
for help on using the changeset viewer.