File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments