Skip to content

[13.x] Add Http::assertSentJson() assertion helper#60664

Open
Button99 wants to merge 2 commits into
laravel:13.xfrom
Button99:13.x
Open

[13.x] Add Http::assertSentJson() assertion helper#60664
Button99 wants to merge 2 commits into
laravel:13.xfrom
Button99:13.x

Conversation

@Button99

@Button99 Button99 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Testing outbound JSON payloads currently requires a custom Http::assertSent() closure. This PR adds a new Http::assertSentJson() assertion helper to make that common case more direct and readable.

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