Merge pull request #22320 from overleaf/revert-22213-ar-avoid-duplicate-blob-writes
Revert "Avoid duplicate blob writes" GitOrigin-RevId: 9f86bcea654cd3fa5f66fbdf42080e7f6e2861a7
This commit is contained in:
@@ -58,12 +58,7 @@ describe('ProjectUploadManager', function () {
|
||||
},
|
||||
]
|
||||
this.fileEntries = [
|
||||
{
|
||||
file: this.file,
|
||||
path: `/${this.file.name}`,
|
||||
url: this.fileStoreUrl,
|
||||
createdBlob: true,
|
||||
},
|
||||
{ file: this.file, path: `/${this.file.name}`, url: this.fileStoreUrl },
|
||||
]
|
||||
|
||||
this.fs = {
|
||||
@@ -99,11 +94,9 @@ describe('ProjectUploadManager', function () {
|
||||
}
|
||||
this.FileStoreHandler = {
|
||||
promises: {
|
||||
uploadFileFromDiskWithHistoryId: sinon.stub().resolves({
|
||||
fileRef: this.file,
|
||||
url: this.fileStoreUrl,
|
||||
createdBlob: true,
|
||||
}),
|
||||
uploadFileFromDiskWithHistoryId: sinon
|
||||
.stub()
|
||||
.resolves({ fileRef: this.file, url: this.fileStoreUrl }),
|
||||
},
|
||||
}
|
||||
this.FileSystemImportManager = {
|
||||
|
||||
Reference in New Issue
Block a user