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 timeouttest 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.