Skip to content

Commit 1da335f

Browse files
phpcbf
1 parent d087cf2 commit 1da335f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/phpunit/tests/comment/query.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5487,10 +5487,8 @@ public function test_note_type_not_duplicated_in_type__not_in() {
54875487
)
54885488
);
54895489

5490-
$this->assertSameSets( array( $comments[ 'comment' ], $comments[ 'pingback' ] ), $found );
5491-
$this->assertNotContains( $comments[ 'note' ], $found );
5492-
5493-
// Verify that 'note' doesn't appear twice in the query.
5490+
$this->assertSameSets( array( $comments['comment'], $comments['pingback'] ), $found );
5491+
$this->assertNotContains( $comments['note'], $found ); // Verify that 'note' doesn't appear twice in the query.
54945492
$note_count = substr_count( $wpdb->last_query, "'note'" );
54955493
$this->assertSame( 1, $note_count, 'The note type should only appear once in the query' );
54965494
}

0 commit comments

Comments
 (0)