Changeset 50559
- Timestamp:
- 03/21/2021 12:53:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getPageOfComment.php
r48937 r50559 487 487 488 488 $this->assertContains( $new_unapproved, wp_list_pluck( $comments, 'comment_ID' ) ); 489 } 490 491 public function get_current_commenter() { 492 return array( 493 'comment_author_email' => 'foo@bar.test', 494 'comment_author' => 'Foo', 495 'comment_author_url' => 'https://bar.test', 496 ); 489 497 } 490 498 … … 539 547 wp_set_current_user( $current_user ); 540 548 } 541 542 public function get_current_commenter() {543 return array(544 'comment_author_email' => 'foo@bar.test',545 'comment_author' => 'Foo',546 'comment_author_url' => 'https://bar.test',547 );548 }549 549 }
Note: See TracChangeset
for help on using the changeset viewer.