From 7daa86473975ee2edaca058b6497dcc108c89cdb Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Wed, 17 May 2023 14:09:16 +0200 Subject: [PATCH] add mock for domain manager --- src/domain/manager.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/domain/manager.rs b/src/domain/manager.rs index 8de0e48..65c589e 100644 --- a/src/domain/manager.rs +++ b/src/domain/manager.rs @@ -114,10 +114,10 @@ impl From for SyncWithConfigError { } } -//#[mockall::automock( -// type Origin=origin::MockOrigin; -// type SyncWithConfigFuture=future::Ready>; -//)] +#[mockall::automock( + type Origin=origin::MockOrigin; + type SyncWithConfigFuture=future::Ready>; +)] pub trait Manager { type Origin<'mgr>: origin::Origin + 'mgr where