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 0a3e735 commit 5f6907eCopy full SHA for 5f6907e
Tests/JWTTests/JWTTests.swift
@@ -374,7 +374,7 @@ class IntegrationTests: XCTestCase {
374
375
let expectation = XCTestExpectation(description: "Verification should fail.")
376
do {
377
- let _ = try JWT.decode(token, algorithm: .none)
+ let _ = try JWT.decode(token, algorithm: .none, leeway: 0)
378
XCTFail("InvalidToken error should have been thrown.")
379
} catch is InvalidToken {
380
expectation.fulfill()
0 commit comments