Changeset 48937 for trunk/tests/phpunit/tests/http/http.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/http.php
r47122 r48937 14 14 function test_make_absolute_url( $relative_url, $absolute_url, $expected ) { 15 15 $actual = WP_Http::make_absolute_url( $relative_url, $absolute_url ); 16 $this->assert Equals( $expected, $actual );16 $this->assertSame( $expected, $actual ); 17 17 } 18 18 … … 73 73 function test_wp_parse_url( $url, $expected ) { 74 74 $actual = wp_parse_url( $url ); 75 $this->assert Equals( $expected, $actual );75 $this->assertSame( $expected, $actual ); 76 76 } 77 77 … … 184 184 function test_wp_parse_url_with_default_component() { 185 185 $actual = wp_parse_url( self::FULL_TEST_URL, -1 ); 186 $this->assert Equals(186 $this->assertSame( 187 187 array( 188 188 'scheme' => 'http', … … 272 272 get_status_header_desc( 200 ); 273 273 274 $this->assert Equals( array_keys( $wp_header_to_desc ), array_values( $constants ) );274 $this->assertSame( array_keys( $wp_header_to_desc ), array_values( $constants ) ); 275 275 276 276 }
Note: See TracChangeset
for help on using the changeset viewer.