Add desktop store and entry creation workflows
This commit is contained in:
@@ -156,6 +156,16 @@ mod tests {
|
||||
assert_eq!(matches("setings").first(), Some(&UiAction::Settings));
|
||||
assert_eq!(matches("rfsh").first(), Some(&UiAction::Refresh));
|
||||
assert_eq!(matches("open vault").first(), Some(&UiAction::OpenFolder));
|
||||
assert_eq!(
|
||||
matches("pass init").first(),
|
||||
Some(&UiAction::InitializeStore)
|
||||
);
|
||||
assert_eq!(matches("create folder").first(), Some(&UiAction::NewFolder));
|
||||
assert_eq!(matches("insert").first(), Some(&UiAction::NewEntry));
|
||||
assert_eq!(
|
||||
matches("generate").first(),
|
||||
Some(&UiAction::GeneratePassword)
|
||||
);
|
||||
assert_eq!(
|
||||
matches(""),
|
||||
action::ACTIONS
|
||||
|
||||
Reference in New Issue
Block a user