Add IMAP local calendar operation tests using in-memory DB (#807)
* Add IMAP local calendar operation handler tests * Fix tests. * Fix calendar item show as not updating. * Create one default calendar for local calendar accounts.
This commit is contained in:
@@ -119,7 +119,8 @@ public class ImapSynchronizerCalDavConfigurationTests
|
||||
unifiedSynchronizer,
|
||||
Mock.Of<IImapSynchronizerErrorHandlerFactory>(),
|
||||
Mock.Of<ICalDavClient>(),
|
||||
autoDiscoveryService ?? Mock.Of<IAutoDiscoveryService>());
|
||||
autoDiscoveryService ?? Mock.Of<IAutoDiscoveryService>(),
|
||||
Mock.Of<ICalendarService>());
|
||||
}
|
||||
|
||||
private static CustomServerInformation CreateServerInformation()
|
||||
|
||||
@@ -76,6 +76,7 @@ public class ImapSynchronizerIdleTests
|
||||
unifiedSynchronizer,
|
||||
Mock.Of<IImapSynchronizerErrorHandlerFactory>(),
|
||||
Mock.Of<ICalDavClient>(),
|
||||
Mock.Of<IAutoDiscoveryService>());
|
||||
Mock.Of<IAutoDiscoveryService>(),
|
||||
Mock.Of<ICalendarService>());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user