Changeset 54088 for trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
r53571 r54088 707 707 708 708 // Bad nonce. 709 wp_set_current_user( $this->factory()->user->create( array( 'role' => 'subscriber' ) ) );709 wp_set_current_user( self::factory()->user->create( array( 'role' => 'subscriber' ) ) ); 710 710 $_POST = wp_slash( 711 711 array( … … 720 720 721 721 // Missing params. 722 wp_set_current_user( $this->factory()->user->create( array( 'role' => 'administrator' ) ) );722 wp_set_current_user( self::factory()->user->create( array( 'role' => 'administrator' ) ) ); 723 723 $_POST = wp_slash( 724 724 array(
Note: See TracChangeset
for help on using the changeset viewer.