Changeset 50433
- Timestamp:
- 02/25/2021 11:10:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesPlugin.php
r49566 r50433 90 90 // Clean up the temporary user. 91 91 wp_delete_user( $admin_user ); 92 // Reset current screen. 93 set_current_screen( 'front' ); 92 94 93 95 // Verify the menu was inserted at the expected position. … … 198 200 // Clean up the temporary user. 199 201 wp_delete_user( $admin_user ); 202 // Reset current screen. 203 set_current_screen( 'front' ); 200 204 201 205 foreach ( $actual_positions as $test => $actual_position ) { … … 281 285 wp_set_current_user( $current_user ); 282 286 wp_delete_user( $admin_user ); 287 // Reset current screen. 288 set_current_screen( 'front' ); 283 289 284 290 // Verify the menu was inserted at the expected position. … … 312 318 wp_set_current_user( $current_user ); 313 319 wp_delete_user( $admin_user ); 320 // Reset current screen. 321 set_current_screen( 'front' ); 314 322 315 323 // Verify the menu was inserted at the expected position.
Note: See TracChangeset
for help on using the changeset viewer.