Skip to content

Commit 7c5c576

Browse files
committed
Fixed tests after changes in ac74ea3
1 parent ac74ea3 commit 7c5c576

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CryptomatorTests/CreateNewVaultPasswordViewModelTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ private class PasswordVaultManagerMock: VaultManager {
171171
return Promise(MockError.notMocked)
172172
}
173173

174+
func removeVaults(withUIDs vaultUIDs: [String]) throws -> Promise<Void> {
175+
return Promise(MockError.notMocked)
176+
}
177+
174178
func removeAllUnusedFileProviderDomains() -> Promise<Void> {
175179
return Promise(MockError.notMocked)
176180
}

CryptomatorTests/VaultListViewModelTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ private class VaultAccountManagerMock: VaultAccountManager {
193193
func removeAccount(with vaultUID: String) throws {
194194
removedVaultUIDs.append(vaultUID)
195195
}
196+
197+
func removeAccounts(with vaultUIDs: [String]) throws {
198+
removedVaultUIDs.append(contentsOf: vaultUIDs)
199+
}
196200
}
197201

198202
private class VaultDBManagerMock: VaultDBManager {

0 commit comments

Comments
 (0)