Skip to content

Commit

Permalink
fix: test for torus-utils changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Mar 26, 2024
1 parent 9d76b5b commit 0a5fd6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/tkeypkgTests/IntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class integrationTests: XCTestCase {

let nodeManager = NodeDetailManager(network: .sapphire(.SAPPHIRE_DEVNET))
let nodeDetail = try await nodeManager.getNodeDetails(verifier: TORUS_TEST_VERIFIER, verifierID: TORUS_TEST_EMAIL)
let torusUtils = TorusUtils(serverTimeOffset: 1000, network: .sapphire(.SAPPHIRE_DEVNET))
let torusUtils = TorusUtils(serverTimeOffset: 1000, network: .sapphire(.SAPPHIRE_DEVNET), clientId: "CLIENT ID")

let idToken = try generateIdToken(email: TORUS_TEST_EMAIL)
let verifierParams = VerifierParams(verifier_id: TORUS_TEST_EMAIL)
Expand Down Expand Up @@ -123,7 +123,7 @@ final class integrationTests: XCTestCase {

let nodeManager = NodeDetailManager(network: .sapphire(.SAPPHIRE_DEVNET))
let nodeDetail = try await nodeManager.getNodeDetails(verifier: TORUS_TEST_VERIFIER, verifierID: TORUS_TEST_EMAIL)
let torusUtils = TorusUtils(serverTimeOffset: 1000, network: .sapphire(.SAPPHIRE_DEVNET))
let torusUtils = TorusUtils(serverTimeOffset: 1000, network: .sapphire(.SAPPHIRE_DEVNET), clientId: "CLIENT ID")

let idToken = try generateIdToken(email: TORUS_TEST_EMAIL)
let verifierParams = VerifierParams(verifier_id: TORUS_TEST_EMAIL)
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_base.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import TorusUtils

class tkey_baseTests: XCTestCase {

var torus = TorusUtils.init()
var torus = TorusUtils.init(clientId: "CLIENT ID")

override func setUp() async throws {
let postbox_key = try! PrivateKey.generate()
Expand Down

0 comments on commit 0a5fd6b

Please sign in to comment.