Skip to content

Commit

Permalink
Update SapphireMainnetTests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed May 14, 2024
1 parent f93f90e commit c01778a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/TorusUtilsTests/SapphireMainnetTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ class SapphireMainnetTests: XCTestCase {
let json = try JSONSerialization.jsonObject(with: item.data(using: .utf8)!) as? [String: Any]
let exp = json!["exp"] as! Int
let sessionTime = exp - now
XCTAssertGreaterThanOrEqual(sessionTime, customSessionTime)
XCTAssertLessThanOrEqual(sessionTime, customSessionTime + 10)
XCTAssertGreaterThanOrEqual(sessionTime, customSessionTime - 30)
XCTAssertLessThanOrEqual(sessionTime, customSessionTime + 30)
}
}
}

0 comments on commit c01778a

Please sign in to comment.