We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dcb68 commit add0b28Copy full SHA for add0b28
AuthenticatorTests/TokenScannerTests.swift
@@ -58,6 +58,18 @@ class TokenScannerTests: XCTestCase {
58
XCTAssertTrue(tokenScanner.viewModel.isScanning)
59
}
60
61
+ func testShowApplicationSettings() {
62
+ var tokenScanner = TokenScanner()
63
+
64
+ let action = TokenScanner.Action.showApplicationSettings
65
+ let effect = tokenScanner.update(action)
66
+ guard let requiredEffect = effect,
67
+ case .showApplicationSettings = requiredEffect else {
68
+ XCTFail("Expected effect .showApplicationSettings, got \(String(describing: effect))")
69
+ return
70
+ }
71
72
73
func testScannerDecodedBadText() {
74
var tokenScanner = TokenScanner()
75
0 commit comments