We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03dccb8 commit 772d6d9Copy full SHA for 772d6d9
1 file changed
test/response_test.rb
@@ -653,8 +653,8 @@ class RubySamlTest < Minitest::Test
653
end
654
655
it "returns true when the session has expired, but is still within the allowed_clock_drift" do
656
- drift = (Time.now - Time.parse("2010-11-19T21:57:37Z")) * 60 # minutes ago that this assertion expired
657
- drift += 10 # add a buffer of 10 minutes to make sure the test passes
+ drift = (Time.now - Time.parse("2010-11-19T21:57:37Z")) * 60 # seconds ago that this assertion expired
+ drift += 10 # add a buffer of 10 seconds to make sure the test passes
658
opts = {}
659
opts[:allowed_clock_drift] = drift
660
0 commit comments