Changeset 48937 for trunk/tests/phpunit/tests/sitemaps/sitemaps.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/sitemaps/sitemaps.php
r48553 r48937 225 225 $expected = $this->_get_expected_url_list( 'post', self::$posts ); 226 226 227 $this->assert Equals( $expected, $post_list );227 $this->assertSame( $expected, $post_list ); 228 228 } 229 229 … … 241 241 $expected = $this->_get_expected_url_list( 'page', self::$pages ); 242 242 243 $this->assert Equals( $expected, $post_list );243 $this->assertSame( $expected, $post_list ); 244 244 } 245 245 … … 262 262 ); 263 263 264 $this->assert Equals( $expected, $post_list );264 $this->assertSame( $expected, $post_list ); 265 265 } 266 266 … … 307 307 unregister_post_type( $post_type ); 308 308 309 $this->assert Equals( $expected, $post_list, 'Custom post type posts are not visible.' );309 $this->assertSame( $expected, $post_list, 'Custom post type posts are not visible.' ); 310 310 } 311 311 … … 394 394 $sitemaps = wp_get_sitemap_providers(); 395 395 396 $this->assert Equals( $sitemaps['test_sitemap'], self::$test_provider, 'Can not confirm sitemap registration is working.' );396 $this->assertSame( $sitemaps['test_sitemap'], self::$test_provider, 'Can not confirm sitemap registration is working.' ); 397 397 } 398 398
Note: See TracChangeset
for help on using the changeset viewer.