Skip to content

Add keyword to init_test_session argument type #1277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

AlphaHydrae
Copy link
Contributor

The unit tests actually use a keyword :

conn = init_test_session(conn(:get, "/"), foo: "bar")

And so that it matches https://github.com/phoenixframework/phoenix/blob/v1.7.21/lib/phoenix/test/conn_test.ex#L252-L253

@josevalim josevalim merged commit fada0c0 into elixir-plug:main Jul 23, 2025
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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