Changeset 47122 for trunk/tests/phpunit/tests/canonical/pageOnFront.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/pageOnFront.php
r46586 r47122 41 41 42 42 function data() { 43 /* Format: 44 * [0]: $test_url, 45 * [1]: expected results: Any of the following can be used 43 /* 44 * Data format: 45 * [0]: Test URL. 46 * [1]: Expected results: Any of the following can be used. 46 47 * array( 'url': expected redirection location, 'qv': expected query vars to be set via the rewrite AND $_GET ); 47 48 * array( expected query vars to be set, same as 'qv' above ) … … 50 51 */ 51 52 return array( 52 // Check against an odd redirect 53 // Check against an odd redirect. 53 54 array( '/page/2/', '/page/2/' ), 54 55 array( '/?page=2', '/page/2/' ), … … 56 57 array( '/?page=1', '/' ), 57 58 58 // The page designated as the front page should redirect to the front of the site 59 // The page designated as the front page should redirect to the front of the site. 59 60 array( '/front-page/', '/' ), 60 61 array( '/front-page/2/', '/page/2/' ),
Note: See TracChangeset
for help on using the changeset viewer.