feat(proxy): add mockall automock to all proxy sub-services
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct UpdateServerBlockParams {
|
||||
pub override_of_id: Option<Option<Uuid>>,
|
||||
}
|
||||
|
||||
#[cfg_attr(test, mockall::automock)]
|
||||
#[async_trait::async_trait]
|
||||
pub trait ServerBlockService: Send + Sync + 'static {
|
||||
async fn get(&self, id: Uuid) -> ProxyServiceResult<ServerBlockConfig>;
|
||||
|
||||
Reference in New Issue
Block a user