Skip to content

Commit 9edb215

Browse files
enable anonymousUsageTrack permission to test User merge scenarios tests
1 parent 6759822 commit 9edb215

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/common/MockLocalStorage.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Foundation
77
@testable import IterableSDK
88

99
class MockLocalStorage: LocalStorageProtocol {
10+
1011
var userIdAnnon: String?
1112

1213
var anonymousUserEvents: [[AnyHashable : Any]]?
@@ -28,7 +29,9 @@ class MockLocalStorage: LocalStorageProtocol {
2829
var sdkVersion: String? = nil
2930

3031
var offlineMode: Bool = false
31-
32+
33+
var anonymousUsageTrack: Bool = true
34+
3235
func getAttributionInfo(currentDate: Date) -> IterableAttributionInfo? {
3336
guard !MockLocalStorage.isExpired(expiration: attributionInfoExpiration, currentDate: currentDate) else {
3437
return nil

0 commit comments

Comments
 (0)