Changeset 55562 for trunk/tests/phpunit/tests/sitemaps/functions.php
- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/sitemaps/functions.php
r52010 r55562 64 64 * Test get_sitemap_url() with plain permalinks. 65 65 * 66 * @dataProvider plain_permalinks_provider66 * @dataProvider data_get_sitemap_url_plain_permalinks 67 67 */ 68 68 public function test_get_sitemap_url_plain_permalinks( $name, $subtype_name, $page, $expected ) { … … 75 75 * Test get_sitemap_url() with pretty permalinks. 76 76 * 77 * @dataProvider pretty_permalinks_provider77 * @dataProvider data_get_sitemap_url_pretty_permalinks 78 78 */ 79 79 public function test_get_sitemap_url_pretty_permalinks( $name, $subtype_name, $page, $expected ) { … … 97 97 * } 98 98 */ 99 public function plain_permalinks_provider() {99 public function data_get_sitemap_url_plain_permalinks() { 100 100 return array( 101 101 array( 'posts', 'post', 1, home_url( '/?sitemap=posts&sitemap-subtype=post&paged=1' ) ), … … 129 129 * } 130 130 */ 131 public function pretty_permalinks_provider() {131 public function data_get_sitemap_url_pretty_permalinks() { 132 132 return array( 133 133 array( 'posts', 'post', 1, home_url( '/wp-sitemap-posts-post-1.xml' ) ),
Note: See TracChangeset
for help on using the changeset viewer.