Commit b4d5a9c4 authored by Rachel Sugrono's avatar Rachel Sugrono Committed by Commit Bot

Fix a transfer.js test to work in step by step mode #2

The transferHostedFileFromTeamDriveToDownloads was failing in step
by step mode. This is because the destination was not set correctly
when calling transferBetweenVolumes. Fix that, use downloads.

Bug: 1035220
Change-Id: Id39080d30486503b0fe08a543595b04df75bc3c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974711
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726286}
parent 19e61435
...@@ -446,7 +446,7 @@ testcase.transferHostedFileFromTeamDriveToDownloads = () => { ...@@ -446,7 +446,7 @@ testcase.transferHostedFileFromTeamDriveToDownloads = () => {
return transferBetweenVolumes(new TransferInfo({ return transferBetweenVolumes(new TransferInfo({
fileToTransfer: ENTRIES.teamDriveAHostedFile, fileToTransfer: ENTRIES.teamDriveAHostedFile,
source: TRANSFER_LOCATIONS.driveTeamDriveA, source: TRANSFER_LOCATIONS.driveTeamDriveA,
destination: TRANSFER_LOCATIONS.driveWithTeamDriveEntries, destination: TRANSFER_LOCATIONS.downloads,
expectFailure: true, expectFailure: true,
})); }));
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment