feat(proxy): add mockall automock to all proxy sub-services

This commit is contained in:
GW_MC
2026-07-05 05:29:16 +00:00
parent e44a67f5a8
commit b7891ec200
11 changed files with 11 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ pub struct UpdateLimitZoneParams {
pub override_of_id: Option<Option<Uuid>>,
}
#[cfg_attr(test, mockall::automock)]
#[async_trait::async_trait]
pub trait LimitZoneService: Send + Sync + 'static {
async fn get(&self, id: Uuid) -> ProxyServiceResult<LimitZoneConfig>;