Simplify test code a bit, use Request::new() to simplfy constructing requests

This commit is contained in:
Barry Pederson
2024-11-03 12:49:23 -08:00
parent 4d70463e46
commit 60bc980e8d
4 changed files with 24 additions and 39 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ mod tests {
const TEST_PATH: &str = "./test_passwords";
#[test]
fn it_communicates_ok() {
fn it_handles_a_request() {
let repository = PasswordDirectory::new(TEST_PATH);
let request = Request::new("bp", "some-rad-password", "ignore-this", "also-ignore-this");