Simplify test code a bit, use Request::new() to simplfy constructing requests
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user