Skip to content

Dedupe common test fixtures - #61422

Merged
taylorotwell merged 5 commits into
laravel:13.xfrom
jasonmccreary:more-fixtures
Sep 3, 2026
Merged

taylorotwell merged 5 commits into
laravel:13.xfrom
jasonmccreary:more-fixtures

Conversation

@jasonmccreary

@jasonmccreary jasonmccreary commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is the last in a series of PRs to "clean up" the test suite by standardizing its conventions. Along the way, a few dozen fixtures were flagged as "byte identical". This dedupes those fixtures, as well as merges a few fixtures which matched within the 90th percentile.

@taylorotwell
taylorotwell merged commit 1ebf28f into laravel:13.x Sep 3, 2026
56 checks passed
@jasonmccreary
jasonmccreary deleted the more-fixtures branch September 3, 2026 14:24
binaryfire added a commit to hypervel/components that referenced this pull request Sep 12, 2026
Remove the duplicate route-level InvokeDeferredCallbacks registration and its
unused import. The middleware is already global, and the HTTP kernel invokes
both route and global terminable middleware. The test now follows the same
request setup as its neighboring HTTP cases.

Keep the synchronous job and deferred-callback assertion, which still verifies
that running the job cannot discard the request's callback.

Refines the upstream test port completed with:
laravel/framework#61315
laravel/framework#61422

Validation: the complete deferred-callback test class, repository formatting
and full static analysis pass.
binaryfire added a commit to hypervel/components that referenced this pull request Sep 12, 2026
Use PascalCase names for the pure, string-backed and integer-backed HTTP test
enums, matching the repository convention. Update their consumers together
while preserving every backed value and request data key.

These fixtures test backed-value conversion and pure-enum rejection; no
external value is derived from the case names. Existing assertions cover the
same behavior without adding more tests.

Completes the convention cleanup in:
laravel/framework#61315
laravel/framework#61422

Validation: the complete HttpRequestTest, stale-reference search, repository
formatting and full static analysis pass.
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.

2 participants