Skip to content

Commit f2bc0be

Browse files
committed
fix: Correct old_filename reference in update_filename_success test
1 parent 3922ebf commit f2bc0be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/file_manager/handlers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,8 @@ async fn update_filename_success() {
403403
// Modify file
404404
let client = reqwest::Client::new();
405405
let new_filename = "aplusb-AC.py";
406-
let old_filename = filename;
407406
let update_data = serde_json::json!({
408-
"old_filename": old_filename,
407+
"old_filename": filename,
409408
"new_filename": new_filename
410409
});
411410

0 commit comments

Comments
 (0)