Changeset 47122 for trunk/tests/phpunit/tests/admin/includesListTable.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesListTable.php
r46586 r47122 21 21 22 22 public static function wpSetUpBeforeClass( $factory ) { 23 // note that our top/children/grandchildren arrays are 1-indexed24 25 // create top level pages23 // Note that our top/children/grandchildren arrays are 1-indexed. 24 25 // Create top-level pages. 26 26 $num_posts = 5; 27 27 foreach ( range( 1, $num_posts ) as $i ) { … … 37 37 } 38 38 39 // create child pages39 // Create child pages. 40 40 $num_children = 3; 41 41 foreach ( self::$top as $top => $top_page ) { … … 54 54 } 55 55 56 // create grand-child pages for the third and fourth top-level pages56 // Create grand-child pages for the third and fourth top-level pages. 57 57 $num_grandchildren = 3; 58 58 foreach ( range( 3, 4 ) as $top ) { … … 145 145 */ 146 146 function test_grandchildren_hierarchical_pages_first_page() { 147 // page 6 is the first page with grandchildren147 // Page 6 is the first page with grandchildren. 148 148 $this->_test_list_hierarchical_page( 149 149 array( … … 164 164 */ 165 165 function test_grandchildren_hierarchical_pages_second_page() { 166 // page 7 is the second page with grandchildren166 // Page 7 is the second page with grandchildren. 167 167 $this->_test_list_hierarchical_page( 168 168 array(
Note: See TracChangeset
for help on using the changeset viewer.