-
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
dd51e56
commit 30505b8
Showing
10 changed files
with
17 additions
and
28 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
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
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
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 |
---|---|---|
|
@@ -16,8 +16,6 @@ class IntegrationTests: XCTestCase { | |
let TORUS_TEST_VERIFIER = "torus-test-health" | ||
let TORUS_TEST_AGGREGATE_VERIFIER = "torus-test-health-aggregate" | ||
let TORUS_TEST_EMAIL = "[email protected]" | ||
var signerHost = "https://signer.tor.us/api/sign" | ||
var allowHost = "https://signer.tor.us/api/allow" | ||
|
||
// Fake data | ||
let TORUS_TEST_VERIFIER_FAKE = "google-lrc-fakes" | ||
|
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 |
---|---|---|
|
@@ -22,9 +22,6 @@ final class SapphireTest: XCTestCase { | |
let TORUS_EXTENDED_VERIFIER_EMAIL = "[email protected]" | ||
let HashEnabledVerifier = "torus-test-verifierid-hash" | ||
|
||
var signerHost = "https://signer.tor.us/api/sign" | ||
var allowHost = "https://signer.tor.us/api/allow" | ||
|
||
var fnd: NodeDetailManager! | ||
var torus: TorusUtils! | ||
|
||
|
@@ -349,7 +346,7 @@ final class SapphireTest: XCTestCase { | |
) | ||
XCTAssert(false, "Should not pass") | ||
}catch { | ||
if (!error.localizedDescription.contains("code: 1001")) { | ||
if (error != gatingError("code: 1001, error: Invalid client id")) { | ||
XCTAssert(false, "Should fail with signer allow gating error") | ||
} | ||
} | ||
|
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