|
|
@ -19,7 +19,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
navigationController: navigationController, |
|
|
|
navigationController: navigationController, |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: wallet), |
|
|
|
activitiesPipeLine: dep.activitiesPipeLine, |
|
|
|
wallet: wallet, |
|
|
|
wallet: wallet, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -87,7 +87,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let c1 = ActiveWalletCoordinator( |
|
|
|
let c1 = ActiveWalletCoordinator( |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: account1), |
|
|
|
activitiesPipeLine: dep1.activitiesPipeLine, |
|
|
|
wallet: account1, |
|
|
|
wallet: account1, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -121,7 +121,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let c2 = ActiveWalletCoordinator( |
|
|
|
let c2 = ActiveWalletCoordinator( |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: account2), |
|
|
|
activitiesPipeLine: dep2.activitiesPipeLine, |
|
|
|
wallet: account2, |
|
|
|
wallet: account2, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -164,7 +164,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
navigationController: FakeNavigationController(), |
|
|
|
walletAddressesStore: fakeWalletAddressesStore(wallets: [.make()]), |
|
|
|
walletAddressesStore: fakeWalletAddressesStore(wallets: [.make()]), |
|
|
|
store: .fake(for: wallet), |
|
|
|
activitiesPipeLine: dep.activitiesPipeLine, |
|
|
|
wallet: wallet, |
|
|
|
wallet: wallet, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -208,7 +208,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
navigationController: navigationController, |
|
|
|
navigationController: navigationController, |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: wallet), |
|
|
|
activitiesPipeLine: dep.activitiesPipeLine, |
|
|
|
wallet: wallet, |
|
|
|
wallet: wallet, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -252,7 +252,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
let coordinator = ActiveWalletCoordinator( |
|
|
|
navigationController: navigationController, |
|
|
|
navigationController: navigationController, |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: wallet), |
|
|
|
activitiesPipeLine: dep.activitiesPipeLine, |
|
|
|
wallet: wallet, |
|
|
|
wallet: wallet, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
@ -315,7 +315,7 @@ class ActiveWalletViewTests: XCTestCase { |
|
|
|
let coordinator: ActiveWalletCoordinator = ActiveWalletCoordinator( |
|
|
|
let coordinator: ActiveWalletCoordinator = ActiveWalletCoordinator( |
|
|
|
navigationController: navigationController, |
|
|
|
navigationController: navigationController, |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
walletAddressesStore: EtherKeystore.migratedWalletAddressesStore(userDefaults: .test), |
|
|
|
store: .fake(for: wallet), |
|
|
|
activitiesPipeLine: dep.activitiesPipeLine, |
|
|
|
wallet: wallet, |
|
|
|
wallet: wallet, |
|
|
|
keystore: keystore, |
|
|
|
keystore: keystore, |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|
assetDefinitionStore: AssetDefinitionStore(), |
|
|
|