mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 22:24:36 +00:00
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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user