Skip to content

Commit f59a3b5

Browse files
committed
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
1 parent fccaf59 commit f59a3b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/phpunit/tests/query/conditionals.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ function setUp() {
2222
update_option( 'comments_per_page', 5 );
2323
update_option( 'posts_per_page', 5 );
2424

25-
create_initial_taxonomies();
26-
2725
$this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
26+
27+
create_initial_taxonomies();
2828
}
2929

3030
function test_home() {

0 commit comments

Comments
 (0)