use super::super::sync::helpers;
#[test]
fn test_instance_sync_initialization() {
let base_db = helpers::setup_instance_with_initialized();
let sync_ref = base_db.sync().expect("Sync should be initialized");
assert!(!sync_ref.sync_tree_root_id().to_string().is_empty());
}
#[test]
fn test_instance_sync_load() {
let base_db = helpers::setup_instance_with_initialized();
let sync_root_id = base_db
.sync()
.expect("Sync should be initialized")
.sync_tree_root_id()
.clone();
assert!(!sync_root_id.to_string().is_empty());
}