mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Move PHPUnit tests into a tests/phpunit directory.
wp-tests-config.php can/should reside in the root of a develop checkout. `phpunit` should be run from the root. see #25088. git-svn-id: https://develop.svn.wordpress.org/trunk@25165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( dirname( __FILE__ ) ) . '/query.php';
|
||||
|
||||
/**
|
||||
* @group query
|
||||
* @group rewrite
|
||||
*/
|
||||
class Tests_Query_VerbosePageRules extends Tests_Query_Conditionals {
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
global $wp_rewrite;
|
||||
update_option( 'permalink_structure', '/%category%/%year%/%postname%/' );
|
||||
create_initial_taxonomies();
|
||||
$GLOBALS['wp_rewrite']->init();
|
||||
flush_rewrite_rules();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user