Changeset 47343 for branches/3.7/tests/phpunit/tests/ajax/DimComment.php
- Timestamp:
- 02/22/2020 12:05:12 PM (6 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/ajax/DimComment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
-
branches/3.7/tests/phpunit/tests/ajax/DimComment.php
r25002 r47343 27 27 public function setUp() { 28 28 parent::setUp(); 29 $post_id = $this->factory->post->create(); 29 $_SERVER['SERVER_NAME'] = 'example.com'; 30 add_filter( 'comment_notification_recipients', '__return_empty_array' ); 31 $user_id = $this->factory->user->create(); 32 $post_id = $this->factory->post->create( array( 'post_author' => $user_id ) ); 30 33 $this->_comments = $this->factory->comment->create_post_comments( $post_id, 15 ); 31 34 $this->_comments = array_map( 'get_comment', $this->_comments );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)