Skip to content

Commit bbb1170

Browse files
committed
fix
1 parent d82c3bc commit bbb1170

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ManagedCode.Storage.IntegrationTests/Tests/BaseUploadControllerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public async Task UploadLargeFile_WhenFileValid_ReturnSuccess()
123123

124124
await using var localFile = LocalFile.FromRandomNameWithExtension(".txt");
125125
FileHelper.GenerateLocalFile(localFile, 50);
126-
var crc32 = Crc32Helper.Calculate(await localFile.ReadAllBytesAsync());
126+
var crc32 = Crc32Helper.CalculateFileCRC(localFile.FilePath);
127127
storageClient.SetChunkSize(4096000);
128128

129129
// Act

0 commit comments

Comments
 (0)