test: Added tests for the new gopass provider

This commit is contained in:
2025-09-29 17:28:04 -06:00
parent 1b83d9b199
commit a64f4dbf79
8 changed files with 121 additions and 66 deletions
+2 -2
View File
@@ -18,14 +18,14 @@ use validator::Validate;
///
/// Example
/// ```no_run
/// use gman::providers::local::GopassProvider;
/// use gman::providers::gopass::GopassProvider;
/// use gman::providers::{SecretProvider, SupportedProvider};
/// use gman::config::Config;
///
/// let provider = GopassProvider::default();
/// let _ = provider.set_secret("MY_SECRET", "value");
/// ```
#[derive(Debug, Clone, Validate, Serialize, Deserialize, PartialEq, Eq)]
#[derive(Debug, Default, Clone, Validate, Serialize, Deserialize, PartialEq, Eq)]
#[serde(deny_unknown_fields)]
pub struct GopassProvider {
pub store: Option<String>,