Changeset 60141
- Timestamp:
- 04/08/2025 01:02:51 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-users-controller.php
r59970 r60141 3301 3301 global $wpdb; 3302 3302 $users_table = preg_quote( $wpdb->users, '/' ); 3303 $pattern = '/ SELECT SQL_CALC_FOUND_ROWS wptests_users.ID\n\s+FROM\s+' . $users_table . '/is';3303 $pattern = '/^SELECT\s+SQL_CALC_FOUND_ROWS\s+' . $users_table . '\.ID\n\s+FROM\s+' . $users_table . '/is'; 3304 3304 3305 3305 // Assert that the SQL query only fetches the id column.
Note: See TracChangeset
for help on using the changeset viewer.