Changeset 31515 for trunk/tests/phpunit/tests/includes/helpers.php
- Timestamp:
- 02/23/2015 01:07:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/includes/helpers.php
r31306 r31515 186 186 } 187 187 188 /** 189 * @ticket 31417 190 */ 191 public function test_go_to_should_go_to_home_page_when_passing_the_untrailingslashed_home_url() { 192 $this->assertFalse( is_home() ); 193 $home = untrailingslashit( get_option( 'home' ) ); 194 $this->go_to( $home ); 195 $this->assertTrue( is_home() ); 196 } 197 188 198 protected function mock_deprecated() { 189 199 _deprecated_function( __METHOD__, '2.5' );
Note: See TracChangeset
for help on using the changeset viewer.