Changeset 47122 for trunk/tests/phpunit/tests/term/cache.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/cache.php
r46586 r47122 15 15 */ 16 16 function test_category_children_cache() { 17 // Test with only one Parent => Child 17 // Test with only one Parent => Child. 18 18 $term_id1 = self::factory()->category->create(); 19 19 $term_id1_child = self::factory()->category->create( array( 'parent' => $term_id1 ) ); … … 22 22 $this->assertEquals( array( $term_id1 => array( $term_id1_child ) ), $hierarchy ); 23 23 24 // Add another Parent => Child 24 // Add another Parent => Child. 25 25 $term_id2 = self::factory()->category->create(); 26 26 $term_id2_child = self::factory()->category->create( array( 'parent' => $term_id2 ) );
Note: See TracChangeset
for help on using the changeset viewer.