Skip to content

Commit

Permalink
Fix testBasicCommentQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahmon committed Oct 10, 2021
1 parent d3638a0 commit 9ba13ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/php/indexables/TestComment.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function testBasicCommentQuery() {
// First try without ES and make sure everything is right.
$comments_query = new \WP_Comment_Query( [] );

$this->assertTrue( $comments_query->elasticsearch_success );
$this->assertObjectNotHasAttribute( 'elasticsearch_success', $comments_query );

$comments = $comments_query->get_comments();

Expand Down

0 comments on commit 9ba13ad

Please sign in to comment.