Skip to content

Commit 69960f0

Browse files
committed
use mock instead of a real storage in test
1 parent 92614cf commit 69960f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit-tests/LocalStorageTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class LocalStorageTests: XCTestCase {
111111

112112
func testPayload() throws {
113113
let mockDateProvider = MockDateProvider()
114-
let localStorage = LocalStorage(userDefaults: LocalStorageTests.getTestUserDefaults(), keychain: LocalStorageTests.getTestKeychain())
114+
let localStorage = MockLocalStorage()
115115

116116
let payload: [AnyHashable: Any] = [
117117
"email": "[email protected]",

0 commit comments

Comments
 (0)