aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api.rs')
-rw-r--r--tests/api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api.rs b/tests/api.rs
index fe313b0..69fe5ee 100644
--- a/tests/api.rs
+++ b/tests/api.rs
@@ -18,7 +18,7 @@ use crate::fixtures::{DIRECTORIES, Error, TestServer, server};
#[case(utf8_percent_encode(DIRECTORIES[2], NON_ALPHANUMERIC).to_string())]
fn api_dir_size(#[case] dir: String, server: TestServer) -> Result<(), Error> {
let mut command = HashMap::new();
- command.insert("DirSize", dir);
+ command.insert("CalculateDirSizes", vec![dir]);
let resp = Client::new()
.post(server.url().join(&format!("__miniserve_internal/api"))?)