Changeset 51419 for trunk/tests/phpunit/tests/admin/includesPlugin.php
- Timestamp:
- 07/13/2021 04:13:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesPlugin.php
r51397 r51419 98 98 // Clean up the temporary user. 99 99 wp_delete_user( $admin_user ); 100 // Reset current screen.101 set_current_screen( 'front' );102 100 103 101 // Verify the menu was inserted at the expected position. … … 208 206 // Clean up the temporary user. 209 207 wp_delete_user( $admin_user ); 210 // Reset current screen.211 set_current_screen( 'front' );212 208 213 209 foreach ( $actual_positions as $test => $actual_position ) { … … 293 289 wp_set_current_user( $current_user ); 294 290 wp_delete_user( $admin_user ); 295 // Reset current screen.296 set_current_screen( 'front' );297 291 298 292 // Verify the menu was inserted at the expected position. … … 326 320 wp_set_current_user( $current_user ); 327 321 wp_delete_user( $admin_user ); 328 // Reset current screen.329 set_current_screen( 'front' );330 322 331 323 // Verify the menu was inserted at the expected position.
Note: See TracChangeset
for help on using the changeset viewer.