Skip to content
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

Allow for testing environments where session keys get turned into strings #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

krainboltgreene
Copy link

This resolves #12.

All session keys in a Plug.Conn get turned into strings, so there's no way to setup the maybe_subscribe for success in a test environment. This could be me just misunderstanding the situation.

@rvnash
Copy link

rvnash commented Mar 23, 2023

Any chance this getting merged? I have the same problem.

Olaleye-Blessing added a commit to Projectstake/phoenix_live_session that referenced this pull request Mar 29, 2023
issue:
All session keys in a Plug.Conn get turned into strings, so there's no way to setup
the maybe_subscribe for success in a test environment.

issue ref: pentacent#13
Olaleye-Blessing added a commit to Projectstake/phoenix_live_session that referenced this pull request Mar 29, 2023
issue:
All session keys in a Plug.Conn get turned into strings, so there's no way to setup
the maybe_subscribe for success in a test environment.

issue ref: pentacent#13
Olaleye-Blessing added a commit to Projectstake/phoenix_live_session that referenced this pull request Mar 29, 2023
issue:
All session keys in a Plug.Conn get turned into strings, so there's no way to setup
the maybe_subscribe for success in a test environment.

issue ref: pentacent#13
Olaleye-Blessing added a commit to Projectstake/phoenix_live_session that referenced this pull request Mar 29, 2023
Possible issue:
All session keys in a Plug.Conn get turned into strings, so there's
no way to setup the maybe_subscribe/2 for success in a test environment.

Issue ref:
pentacent#13
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.

Using Phoenix Live Session in tests causes a key not found error: __sid__
2 participants