add mock for domain manager
This commit is contained in:
parent
1fdd023f50
commit
7daa864739
@ -114,10 +114,10 @@ impl From<config::SetError> for SyncWithConfigError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[mockall::automock(
|
#[mockall::automock(
|
||||||
// type Origin=origin::MockOrigin;
|
type Origin=origin::MockOrigin;
|
||||||
// type SyncWithConfigFuture=future::Ready<Result<(), SyncWithConfigError>>;
|
type SyncWithConfigFuture=future::Ready<Result<(), SyncWithConfigError>>;
|
||||||
//)]
|
)]
|
||||||
pub trait Manager {
|
pub trait Manager {
|
||||||
type Origin<'mgr>: origin::Origin + 'mgr
|
type Origin<'mgr>: origin::Origin + 'mgr
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user