mirror of
https://github.com/otaviocc/Triton.git
synced 2026-01-29 19:54:27 +00:00
19 lines
368 B
Swift
19 lines
368 B
Swift
#if DEBUG
|
|
|
|
enum KeychainStoreMother {
|
|
|
|
// MARK: - Nested types
|
|
|
|
private final class FakeKeychainStore: KeychainStoreProtocol, @unchecked Sendable {
|
|
|
|
var wrappedValue: String?
|
|
}
|
|
|
|
// MARK: - Public
|
|
|
|
static func makeKeychainStore() -> KeychainStoreProtocol {
|
|
FakeKeychainStore()
|
|
}
|
|
}
|
|
|
|
#endif
|