WordPress build repository browser

Changeset 63634


Ignore:
Timestamp:
10/18/2026 12:25:50 AM (less than one hour ago)
Author:
lancewillett
Message:

Tests: Reuse existing fixtures in REST user tests.

Reuse the author and subscriber fixtures in read-only and rejected-request tests in WP_Test_REST_Users_Controller, avoiding 13 user creations per class run.

Preserve the requests, assertions, and include-query ordering checks. Keep fresh users for successful updates, deletions, and identity-specific scenarios, and retain per-test post and page fixtures.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/14339

Props abcd95.
See #66074.

Built from ​https://develop.svn.wordpress.org/trunk@64484

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.