Changeset 47169 for trunk/tests/phpunit/tests/canonical/noRewrite.php
- Timestamp:
- 02/03/2020 12:12:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/noRewrite.php
r47122 r47169 35 35 * [1]: Expected results: Any of the following can be used. 36 36 * array( 'url': expected redirection location, 'qv': expected query vars to be set via the rewrite AND $_GET ); 37 * array( expected query vars to be set, same as 'qv' above ) 38 * (string) expected redirect location 39 * [3]: (optional) The ticket the test refers to ,Can be skipped if unknown.37 * array( expected query vars to be set, same as 'qv' above ); 38 * (string) expected redirect location. 39 * [3]: (optional) The ticket the test refers to. Can be skipped if unknown. 40 40 */ 41 41 return array( … … 268 268 array( '/page/2/%E2%80%9D', '/page/2/', 20383 ), // Encoded closing curly quote. 269 269 270 array( '/?page_id=1', '/?p=1' ), // Redirect page_id to p (should cover page_id|p|attachment_id to one another .270 array( '/?page_id=1', '/?p=1' ), // Redirect page_id to p (should cover page_id|p|attachment_id to one another). 271 271 array( '/?page_id=1&post_type=revision', '/?p=1' ), 272 272 273 273 array( '/?feed=rss2&p=1', '/?feed=rss2&p=1', 21841 ), 274 274 array( '/?feed=rss&p=1', '/?feed=rss2&p=1', 24623 ), 275 276 array( '/?comp=East+(North)', '/?comp=East+(North)', 49347 ), 275 277 ); 276 278 }
Note: See TracChangeset
for help on using the changeset viewer.