Build/Test tools: Ensure the Tests_Query_Conditionals tests set up the environment correctly before re-registering initial taxonomies.

Fixes #37851


git-svn-id: https://develop.svn.wordpress.org/trunk@38407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-08-27 17:02:54 +00:00
parent fccaf594c7
commit f59a3b54c8

View File

@ -22,9 +22,9 @@ class Tests_Query_Conditionals extends WP_UnitTestCase {
update_option( 'comments_per_page', 5 );
update_option( 'posts_per_page', 5 );
create_initial_taxonomies();
$this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
create_initial_taxonomies();
}
function test_home() {