Skip to content

Commit 1cda3b4

Browse files
Add @ticket references. see #26903.
git-svn-id: https://develop.svn.wordpress.org/trunk@27197 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a053640 commit 1cda3b4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

tests/phpunit/tests/term/getTerms.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ function test_get_terms_search() {
196196
$this->assertEqualSets( array( $term_id1, $term_id2 ), $terms );
197197
}
198198

199+
/**
200+
* @ticket 8214
201+
*/
199202
function test_get_terms_like() {
200203
$term_id1 = $this->factory->tag->create( array( 'name' => 'burrito', 'description' => 'This is a burrito.' ) );
201204
$term_id2 = $this->factory->tag->create( array( 'name' => 'taco', 'description' => 'Burning man.' ) );
@@ -225,6 +228,9 @@ function test_get_terms_like() {
225228
$this->assertEqualSets( array( $term_id1, $term_id2 ), $terms8 );
226229
}
227230

231+
/**
232+
* @ticket 26903
233+
*/
228234
function test_get_terms_parent_zero() {
229235
$tax = 'food';
230236
register_taxonomy( $tax, 'post', array( 'hierarchical' => true ) );
@@ -274,6 +280,9 @@ function test_get_terms_parent_zero() {
274280
$this->assertEquals( wp_list_pluck( $terms, 'name' ), array( 'Cheese', 'Crackers' ) );
275281
}
276282

283+
/**
284+
* @ticket 26903
285+
*/
277286
function test_get_terms_grandparent_zero() {
278287
$tax = 'food';
279288
register_taxonomy( $tax, 'post', array( 'hierarchical' => true ) );
@@ -293,6 +302,9 @@ function test_get_terms_grandparent_zero() {
293302
_unregister_taxonomy( $tax );
294303
}
295304

305+
/**
306+
* @ticket 26903
307+
*/
296308
function test_get_terms_seven_levels_deep() {
297309
$tax = 'deep';
298310
register_taxonomy( $tax, 'post', array( 'hierarchical' => true ) );

0 commit comments

Comments
 (0)