Skip to content

Tests: Prevent state leaks in functions tests - #13182

Draft
sirreal wants to merge 1 commit into
WordPress:trunkfrom
sirreal:agent/test-order-functions-isolation
Draft

Tests: Prevent state leaks in functions tests#13182
sirreal wants to merge 1 commit into
WordPress:trunkfrom
sirreal:agent/test-order-functions-isolation

Conversation

@sirreal

@sirreal sirreal commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Resets the forced-SSL function-static fixture and resynchronizes timezone-choice translation state after locale-changing data sets.
  • Keeps the changes confined to PHPUnit tests and fixtures.

Verification

  • 50 consecutive randomized functions-group runs passed; each completed 1,212 tests and 2,499 assertions.
  • 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