Changeset 48937 for trunk/tests/phpunit/tests/formatting/BlogInfo.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/BlogInfo.php
r47122 r48937 16 16 17 17 $locale = $test_locale; 18 $this->assert Equals( $expected, get_bloginfo( 'language' ) );18 $this->assertSame( $expected, get_bloginfo( 'language' ) ); 19 19 20 20 $locale = $old_locale; … … 55 55 update_option( 'blogname', $sanitized_value ); 56 56 57 $this->assert Equals( $expected, $sanitized_value );58 $this->assert Equals( $expected, get_bloginfo( 'name' ) );59 $this->assert Equals( $expected, get_bloginfo( 'name', 'display' ) );57 $this->assertSame( $expected, $sanitized_value ); 58 $this->assertSame( $expected, get_bloginfo( 'name' ) ); 59 $this->assertSame( $expected, get_bloginfo( 'name', 'display' ) ); 60 60 61 61 $sanitized_value = sanitize_option( 'blogdescription', $value ); 62 62 update_option( 'blogdescription', $sanitized_value ); 63 63 64 $this->assert Equals( $expected, $sanitized_value );65 $this->assert Equals( $expected, get_bloginfo( 'description' ) );66 $this->assert Equals( $expected, get_bloginfo( 'description', 'display' ) );64 $this->assertSame( $expected, $sanitized_value ); 65 $this->assertSame( $expected, get_bloginfo( 'description' ) ); 66 $this->assertSame( $expected, get_bloginfo( 'description', 'display' ) ); 67 67 } 68 68
Note: See TracChangeset
for help on using the changeset viewer.