Ticket #38761: 38761.diff
| File 38761.diff, 1.1 KB (added by , 10 years ago) |
|---|
-
tests/phpunit/tests/admin/includesListTable.php
16 16 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 24 22 public static function wpSetUpBeforeClass( $factory ) { -
tests/phpunit/tests/multisite/wpMSSitesListTable.php
16 16 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 22 22 public static function wpSetUpBeforeClass( $factory ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)