Changeset 57987 for trunk/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
- Timestamp:
- 04/12/2024 05:45:23 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
r56548 r57987 112 112 public function test_get_users_with_no_role_matches_on_role_name() { 113 113 // Create a role with a display name which would not match the role name 114 // in a case-insen tive SQL query.114 // in a case-insensitive SQL query. 115 115 wp_roles()->add_role( 'somerole', 'Some role display name' ); 116 116 117 $someuser =self::factory()->user->create(117 self::factory()->user->create( 118 118 array( 119 119 'role' => 'somerole',
Note: See TracChangeset
for help on using the changeset viewer.