From 652f7147283e12e03391fa59a118ff74f484d844 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 14 Oct 2020 00:25:43 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php b/tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php index bc43c8a227..578e637f26 100644 --- a/tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php +++ b/tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php @@ -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.' ); } /**