Changeset 51928 for trunk/tests/phpunit/tests/canonical/pageOnFront.php
- Timestamp:
- 10/23/2021 12:36:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/pageOnFront.php
r51568 r51928 52 52 return array( 53 53 // Check against an odd redirect. 54 array( '/page/2/', '/page/2/' ),55 array( '/?page=2', '/page/2/' ),56 array( '/page/1/', '/' ),57 array( '/?page=1', '/' ),54 array( '/page/2/', '/page/2/', 20385 ), 55 array( '/?page=2', '/page/2/', 35344 ), 56 array( '/page/1/', '/', 35344 ), 57 array( '/?page=1', '/', 35344 ), 58 58 59 59 // The page designated as the front page should redirect to the front of the site. 60 array( '/front-page/', '/' ),60 array( '/front-page/', '/', 20385 ), 61 61 // The front page supports the <!--nextpage--> pagination. 62 array( '/front-page/2/', '/page/2/' ),63 array( '/front-page/?page=2', '/page/2/' ),62 array( '/front-page/2/', '/page/2/', 35344 ), 63 array( '/front-page/?page=2', '/page/2/', 35344 ), 64 64 // The posts page does not support the <!--nextpage--> pagination. 65 array( '/blog-page/2/', '/blog-page/' ),66 array( '/blog-page/?page=2', '/blog-page/' ),65 array( '/blog-page/2/', '/blog-page/', 45337 ), 66 array( '/blog-page/?page=2', '/blog-page/', 45337 ), 67 67 // The posts page supports regular pagination. 68 array( '/blog-page/?paged=2', '/blog-page/page/2/' ),68 array( '/blog-page/?paged=2', '/blog-page/page/2/', 20385 ), 69 69 ); 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.