-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c45c8a
commit 7ad67f0
Showing
5 changed files
with
1 addition
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, UserType(rawValue: "v1")) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_should_fetch_user_type_and_public_addresses() async throws { | ||
|
@@ -61,7 +60,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, .v2) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
|
||
verifier = "tkey-google-aqua" | ||
verifierID = "[email protected]" | ||
|
@@ -76,7 +74,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, .v2) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
|
||
verifierID = "[email protected]" | ||
val = try await tu.getUserTypeAndAddress(endpoints: nodeDetails.getTorusNodeEndpoints(), torusNodePubs: nodeDetails.getTorusNodePub(), verifier: verifier, verifierId: verifierID) | ||
|
@@ -89,7 +86,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, .v2) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_key_assign() async throws { | ||
|
@@ -127,7 +123,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(data.metadata?.nonce, BigUInt(0)) | ||
XCTAssertEqual(data.metadata?.typeOfUser, .v1) | ||
XCTAssertEqual(data.metadata?.upgraded, nil) | ||
XCTAssertEqual(data.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_aggregate_login() async throws { | ||
|
@@ -153,7 +148,6 @@ class AquaTest: XCTestCase { | |
XCTAssertEqual(data.metadata?.nonce, BigUInt(0)) | ||
XCTAssertEqual(data.metadata?.typeOfUser, .v1) | ||
XCTAssertEqual(data.metadata?.upgraded, nil) | ||
XCTAssertEqual(data.nodesData?.nodeIndexes.count, 0) | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,6 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, UserType(rawValue: "v1")) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_fetch_user_type_and_addresses() async throws { | ||
|
@@ -70,7 +69,6 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, .v2) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
|
||
let verifier2: String = "tkey-google" | ||
let verifierID2: String = "[email protected]" | ||
|
@@ -87,7 +85,6 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, UserType(rawValue: "v2")) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
|
||
let verifier3: String = "tkey-google" | ||
let verifierID3: String = "[email protected]" | ||
|
@@ -104,7 +101,6 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(val.metadata?.nonce, 0) | ||
XCTAssertEqual(val.metadata?.upgraded, false) | ||
XCTAssertEqual(val.metadata?.typeOfUser, .v2) | ||
XCTAssertEqual(val.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_key_assign() async throws { | ||
|
@@ -148,7 +144,6 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(data.metadata?.nonce, BigUInt(0)) | ||
XCTAssertEqual(data.metadata?.typeOfUser, .v1) | ||
XCTAssertEqual(data.metadata?.upgraded, nil) | ||
XCTAssertEqual(data.nodesData?.nodeIndexes.count, 0) | ||
} | ||
|
||
func test_aggregate_login() async throws { | ||
|
@@ -176,6 +171,5 @@ class MainnetTests: XCTestCase { | |
XCTAssertEqual(data.metadata?.nonce, BigUInt(0)) | ||
XCTAssertEqual(data.metadata?.typeOfUser, .v1) | ||
XCTAssertEqual(data.metadata?.upgraded, nil) | ||
XCTAssertEqual(data.nodesData?.nodeIndexes.count, 0) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters