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(
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user