From 44f162afc162f99a622aa73b851c80f6e2edabeb Mon Sep 17 00:00:00 2001 From: Jens Utbult Date: Wed, 21 Feb 2024 10:36:02 +0100 Subject: [PATCH] Fixed broken OATH tests. --- FullStackTests/Tests/OATHFullStackTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FullStackTests/Tests/OATHFullStackTests.swift b/FullStackTests/Tests/OATHFullStackTests.swift index 1849522..592afaf 100644 --- a/FullStackTests/Tests/OATHFullStackTests.swift +++ b/FullStackTests/Tests/OATHFullStackTests.swift @@ -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)