A function is only useful in tests
This commit is contained in:
parent
d9b11a30ec
commit
5b1adca42c
5 changed files with 10 additions and 3 deletions
|
@ -143,6 +143,7 @@ impl Cache {
|
|||
/// Compares two Caches to check they have the same current content
|
||||
///
|
||||
/// This is not a complete equality test: some attributes (sync status...) may differ. This should mostly be used in tests
|
||||
#[cfg(any(test, feature = "integration_tests"))]
|
||||
pub async fn has_same_observable_content_as(&self, other: &Self) -> Result<bool, Box<dyn Error>> {
|
||||
let calendars_l = self.get_calendars().await?;
|
||||
let calendars_r = other.get_calendars().await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue