Skip to content

Commit

Permalink
Fixed broken OATH tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensutbult committed Feb 21, 2024
1 parent d8a76b4 commit 44f162a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FullStackTests/Tests/OATHFullStackTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ extension XCTestCase {
let connection = try await AllowedConnections.anyConnection()
var session = try await OATHSession.session(withConnection: connection)
try await session.reset()

session = try await OATHSession.session(withConnection: connection)
if populated {
let secret = "abba".base32DecodedData!
let credentialOne = OATHSession.CredentialTemplate(type: .TOTP(), algorithm: .SHA1, secret: secret, issuer: "TOTP SHA1", name: "6 digits, 30 sec", digits: 6)
Expand Down

0 comments on commit 44f162a

Please sign in to comment.