Skip to content

Tests: Improve REST API test isolation - #13185

Draft
sirreal wants to merge 2 commits into
WordPress:trunkfrom
sirreal:agent/test-order-rest-api-isolation
Draft

Tests: Improve REST API test isolation#13185
sirreal wants to merge 2 commits into
WordPress:trunkfrom
sirreal:agent/test-order-rest-api-isolation

Conversation

@sirreal

@sirreal sirreal commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Isolates REST authentication flags, block registrations, widget factories, sidebar state, theme features, script globals, and mocked URL validation fixtures.
  • Keeps the changes confined to PHPUnit tests and fixtures.

Verification

  • 50 consecutive randomized REST API group runs passed; each completed 3,550 tests.
  • Replayed the original failing seed and focused contaminator/consumer cases during diagnosis.
  • PHP syntax checks passed for every changed PHP file.
  • git diff --check passed.

Trac: https://core.trac.wordpress.org/ticket/65893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant