diff --git a/src-tauri/src/fs/commands.rs b/src-tauri/src/fs/commands.rs index 3d19a56..f5b8c20 100644 --- a/src-tauri/src/fs/commands.rs +++ b/src-tauri/src/fs/commands.rs @@ -170,18 +170,4 @@ fn test_fs() { dir.files.push(DirectoryItems::File(file)); assert!(mk(name, password, String::from("file")).is_ok()); assert_eq!(unsafe{&FS.current_dir}, &dir); -} -#[test] -fn test_upload(){ - unsafe{FS.init_fs();} - let name = "some"; - let password = "thing"; - let data = b"helloworlddigmas"; - let mut dir = Directory::new(String::from("dir")); - let file = File::new(name, password, String::from("test.txt"), &dir).unwrap(); - file.save(name, password, data).unwrap(); - dir.files.push(DirectoryItems::File(file.clone())); - file.delete(name, password).unwrap(); - - -} +} \ No newline at end of file