예제 #1
0
        public void Rename()
        {
            var delete  = _api.Delete(_synoTestFolderNoSlash + "/newfolder_renamed");
            var delete2 = _api.Delete(_synoTestFolderNoSlash + "/newfolder");

            _api.AddFolder(_synoTestFolderNoSlash, "newfolder");

            var renamed = _api.FileSystemRename(_synoTestFolderNoSlash + "/newfolder", "newfolder_renamed");

            renamed.success.Should().BeTrue();
        }