Tests: Correct the message in a sitemaps test for getting a URL list for a custom taxonomy that is not publicly queryable.

Follow-up to [48474].

See #51344, #50607.

git-svn-id: https://develop.svn.wordpress.org/trunk@49140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-14 00:25:43 +00:00
parent e676d46723
commit 652f714728

View File

@ -163,7 +163,7 @@ class Test_WP_Sitemaps_Taxonomies extends WP_UnitTestCase {
// Clean up.
unregister_taxonomy_for_object_type( $taxonomy, 'post' );
$this->assertEmpty( $post_list, 'Private taxonomy term links are visible.' );
$this->assertEmpty( $post_list, 'Non-publicly queryable taxonomy term links are visible.' );
}
/**