Changeset 47338 for branches/3.8/tests/phpunit/tests/ajax/DeleteComment.php
- Timestamp:
- 02/21/2020 01:05:39 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
-
branches/3.8/tests/phpunit/tests/ajax/DeleteComment.php
r25002 r47338 27 27 public function setUp() { 28 28 parent::setUp(); 29 $post_id = $this->factory->post->create(); 29 add_filter( 'comment_notification_recipients', '__return_empty_array' ); 30 $user_id = $this->factory->user->create(); 31 $post_id = $this->factory->post->create( array( 'post_author' => $user_id ) ); 30 32 $this->_comments = $this->factory->comment->create_post_comments( $post_id, 15 ); 31 33 $this->_comments = array_map( 'get_comment', $this->_comments );
Note: See TracChangeset
for help on using the changeset viewer.