Changeset 45607 for trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
r43571 r45607 53 53 function test_ajax_load_available_items_cap_check( $role, $expected_results ) { 54 54 55 if ( 'administrator' != $role ) {55 if ( 'administrator' !== $role ) { 56 56 // If we're not an admin, we should get a wp_die(-1). 57 57 $this->setExpectedException( 'WPAjaxDieStopException' ); … … 442 442 function test_ajax_search_available_items_caps_check( $role, $expected_results ) { 443 443 444 if ( 'administrator' != $role ) {444 if ( 'administrator' !== $role ) { 445 445 // If we're not an admin, we should get a wp_die(-1). 446 446 $this->setExpectedException( 'WPAjaxDieStopException' );
Note: See TracChangeset
for help on using the changeset viewer.