Changeset 904 in tests for trunk/tests/query.php
- Timestamp:
- 07/18/2012 07:01:41 PM (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/query.php
r903 r904 10 10 * @group rewrite 11 11 */ 12 class Test WPQueryVarsextends WP_UnitTestCase {12 class Tests_Query extends WP_UnitTestCase { 13 13 14 14 protected $page_ids; … … 631 631 // '[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]', 632 632 } 633 634 /**635 * @group query636 * @group rewrite637 */638 class TestWPQueryVerbosePageRules extends TestWPQueryVars {639 function setUp() {640 parent::setUp();641 global $wp_rewrite;642 update_option( 'permalink_structure', '/%category%/%year%/%postname%/' );643 create_initial_taxonomies();644 $GLOBALS['wp_rewrite']->init();645 flush_rewrite_rules();646 }647 }
Note: See TracChangeset
for help on using the changeset viewer.