Unit Tests: create fewer terms in Tests_Term_getTerms::test_get_terms_parent_zero()

See #30017, #33968.


git-svn-id: https://develop.svn.wordpress.org/trunk@35196 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-10-15 06:52:19 +00:00
parent 65390cd9cf
commit 32719bf251
2 changed files with 9 additions and 11 deletions

View File

@@ -332,15 +332,15 @@ class Tests_Query_Conditionals extends WP_UnitTestCase {
// check the long form
$types = array('feed', 'rdf', 'rss', 'rss2', 'atom');
foreach ($types as $type) {
$this->go_to("/category/cat-a/feed/{$type}");
$this->assertQueryTrue('is_archive', 'is_feed', 'is_category');
$this->go_to("/category/cat-a/feed/{$type}");
$this->assertQueryTrue('is_archive', 'is_feed', 'is_category');
}
// check the short form
$types = array('feed', 'rdf', 'rss', 'rss2', 'atom');
foreach ($types as $type) {
$this->go_to("/category/cat-a/{$type}");
$this->assertQueryTrue('is_archive', 'is_feed', 'is_category');
$this->go_to("/category/cat-a/{$type}");
$this->assertQueryTrue('is_archive', 'is_feed', 'is_category');
}
}