Changeset 39481
- Timestamp:
- 12/04/2016 07:03:40 PM (8 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesListTable.php
r38854 r39481 17 17 function setUp() { 18 18 parent::setUp(); 19 set_current_screen( 'edit-page' ); 20 $GLOBALS['hook_suffix'] = ''; 21 $this->table = _get_list_table( 'WP_Posts_List_Table' ); 19 $this->table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => 'edit-page' ) ); 22 20 } 23 21 -
trunk/tests/phpunit/tests/multisite/wpMSSitesListTable.php
r37736 r39481 17 17 function setUp() { 18 18 parent::setUp(); 19 $this->table = _get_list_table( 'WP_MS_Sites_List_Table' );19 $this->table = _get_list_table( 'WP_MS_Sites_List_Table', array( 'screen' => 'ms-sites' ) ); 20 20 } 21 21
Note: See TracChangeset
for help on using the changeset viewer.