wordpress-develop/tests/phpunit/tests/sitemaps
Sergey Biryukov 2c11931a4a Tests: Improve the test for sticky posts not being moved to the front in sitemaps.
* Give the test method a most descriptive name.
* Use a single assertion for the URL list instead of a `foreach` loop to provide more context in case of failure.
* Add a failure message to each assertion, as there are multiple assertions used in the test.

Follow-up to [53548].

See #55633.

git-svn-id: https://develop.svn.wordpress.org/trunk@53556 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-22 16:50:14 +00:00
..
functions.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
sitemaps.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsIndex.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsPosts.php Tests: Improve the test for sticky posts not being moved to the front in sitemaps. 2022-06-22 16:50:14 +00:00
wpSitemapsRegistry.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsRenderer.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsStylesheet.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsTaxonomies.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsUsers.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00