Changeset 48937 for trunk/tests/phpunit/tests/sitemaps/functions.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/sitemaps/functions.php
r48872 r48937 16 16 $expected_users = wp_sitemaps_get_max_urls( 'user' ); 17 17 18 $this->assert Equals( $expected_posts, 300, 'Can not confirm max URL number for posts.' );19 $this->assert Equals( $expected_taxonomies, 50, 'Can not confirm max URL number for taxonomies.' );20 $this->assert Equals( $expected_users, 1, 'Can not confirm max URL number for users.' );18 $this->assertSame( $expected_posts, 300, 'Can not confirm max URL number for posts.' ); 19 $this->assertSame( $expected_taxonomies, 50, 'Can not confirm max URL number for taxonomies.' ); 20 $this->assertSame( $expected_users, 1, 'Can not confirm max URL number for users.' ); 21 21 } 22 22 … … 53 53 ); 54 54 55 $this->assert Equals( array_keys( $expected ), array_keys( $sitemaps ), 'Unable to confirm default sitemap types are registered.' );55 $this->assertSame( array_keys( $expected ), array_keys( $sitemaps ), 'Unable to confirm default sitemap types are registered.' ); 56 56 57 57 foreach ( $expected as $name => $provider ) {
Note: See TracChangeset
for help on using the changeset viewer.