add mock for domain manager

This commit is contained in:
Brian Picciano 2023-05-17 14:09:16 +02:00
parent 1fdd023f50
commit 7daa864739

View File

@ -114,10 +114,10 @@ impl From<config::SetError> for SyncWithConfigError {
}
}
//#[mockall::automock(
// type Origin=origin::MockOrigin;
// type SyncWithConfigFuture=future::Ready<Result<(), SyncWithConfigError>>;
//)]
#[mockall::automock(
type Origin=origin::MockOrigin;
type SyncWithConfigFuture=future::Ready<Result<(), SyncWithConfigError>>;
)]
pub trait Manager {
type Origin<'mgr>: origin::Origin + 'mgr
where