Skip to content

Commit 17fa070

Browse files
committed
Fix inversion of test and message
1 parent 3d7f52a commit 17fa070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/tests/term/query.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public function test_object_ids_null_should_return_all_terms() {
474474
/**
475475
* @ticket 63256
476476
*/
477-
public function test_object_ids_false_should_return_all_terms() {
477+
public function test_object_ids_false_should_return_no_terms() {
478478
register_taxonomy( 'wptests_tax_1', 'post' );
479479

480480
self::factory()->term->create_many( 3, array( 'taxonomy' => 'wptests_tax_1' ) );
@@ -488,7 +488,7 @@ public function test_object_ids_false_should_return_all_terms() {
488488
)
489489
);
490490

491-
$this->assertSame( array(), $query->terms, 'When object_ids is false, all terms should be returned without filtering.' );
491+
$this->assertSame( array(), $query->terms, 'When object_ids is false, no terms should be returned without filtering.' );
492492
}
493493

494494
/**

0 commit comments

Comments
 (0)