Skip to content

Commit 772d6d9

Browse files
committed
* update comment with time units
1 parent 03dccb8 commit 772d6d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/response_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ class RubySamlTest < Minitest::Test
653653
end
654654

655655
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
656+
drift = (Time.now - Time.parse("2010-11-19T21:57:37Z")) * 60 # seconds ago that this assertion expired
657+
drift += 10 # add a buffer of 10 seconds to make sure the test passes
658658
opts = {}
659659
opts[:allowed_clock_drift] = drift
660660

0 commit comments

Comments
 (0)