Changeset 48937 for trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
r46586 r48937 52 52 $this->go_to( $old_permalink ); 53 53 wp_old_slug_redirect(); 54 $this->assert Equals( $permalink, $this->old_slug_redirect_url );54 $this->assertSame( $permalink, $this->old_slug_redirect_url ); 55 55 } 56 56 … … 93 93 $this->go_to( $old_permalink ); 94 94 wp_old_slug_redirect(); 95 $this->assert Equals( $permalink, $this->old_slug_redirect_url );95 $this->assertSame( $permalink, $this->old_slug_redirect_url ); 96 96 } 97 97 … … 117 117 $this->go_to( $old_permalink ); 118 118 wp_old_slug_redirect(); 119 $this->assert Equals( $permalink, $this->old_slug_redirect_url );119 $this->assertSame( $permalink, $this->old_slug_redirect_url ); 120 120 } 121 121 … … 142 142 $permalink = user_trailingslashit( get_permalink( $new_post_id ) ); 143 143 144 $this->assert Equals( $old_permalink, $permalink );144 $this->assertSame( $old_permalink, $permalink ); 145 145 146 146 $this->go_to( $old_permalink );
Note: See TracChangeset
for help on using the changeset viewer.