-
Notifications
You must be signed in to change notification settings - Fork 0
Test/test for session timeout bug #1
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
base: bugfix/session-timeout_validate-session
Are you sure you want to change the base?
Test/test for session timeout bug #1
Conversation
Thanks for preparing this. When I run the specs of this PR with Ruby 3.2.2 I get 20 failures [1] in total. The most relevant ones for us are:
Is 132 also failing for you or only 194? 194's error for me is:
Which is weird because I also test resetting og the [1]
|
What do you mean by:
Do you mean the |
Yes, now we logout inside |
The others test are failling due to upgrade from rspec-rails: Sorcery#358 (comment) I can fixes then later too |
Yes the 132 is failling too, i will investigate in depth in the weekend. |
I still don't follow what the problem is. You're right that
side note
|
Hello @jankoegel,
I haven't been able to determine whether the issue with the test or the code. However,
with remember_me module enabled after session timeout
test is failing.I believe this may be due to line 72 in the lib/sorcery/controller.rb file within the logout method. In the logged_in function, we call logout, and because of this, we are unable to reach the before_logout hook.
Let me know if you need further clarification or assistance.