Changeset 42343 for trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
r40417 r42343 15 15 16 16 self::$parent_comment_data = array( 17 'comment_post_ID' => self::$post_id,18 'comment_author' => 'Test commenter',19 'comment_author_url' => 'http://example.com/',17 'comment_post_ID' => self::$post_id, 18 'comment_author' => 'Test commenter', 19 'comment_author_url' => 'http://example.com/', 20 20 'comment_author_email' => 'example@example.com', 21 'comment_content' => rand_str( 100 ),21 'comment_content' => rand_str( 100 ), 22 22 ); 23 self::$parent_comment_id = wp_insert_comment( self::$parent_comment_data );23 self::$parent_comment_id = wp_insert_comment( self::$parent_comment_data ); 24 24 25 25 self::$child_comment_data = array( 26 'comment_post_ID' => self::$post_id,27 'comment_author' => 'Test commenter 2',28 'comment_author_url' => 'http://example.org/',26 'comment_post_ID' => self::$post_id, 27 'comment_author' => 'Test commenter 2', 28 'comment_author_url' => 'http://example.org/', 29 29 'comment_author_email' => 'example@example.org', 30 'comment_parent' => self::$parent_comment_id,31 'comment_content' => rand_str( 100 )30 'comment_parent' => self::$parent_comment_id, 31 'comment_content' => rand_str( 100 ), 32 32 ); 33 self::$child_comment_id = wp_insert_comment( self::$child_comment_data );33 self::$child_comment_id = wp_insert_comment( self::$child_comment_data ); 34 34 } 35 35
Note: See TracChangeset
for help on using the changeset viewer.