We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82c3bc commit bbb1170Copy full SHA for bbb1170
1 file changed
ManagedCode.Storage.IntegrationTests/Tests/BaseUploadControllerTests.cs
@@ -123,7 +123,7 @@ public async Task UploadLargeFile_WhenFileValid_ReturnSuccess()
123
124
await using var localFile = LocalFile.FromRandomNameWithExtension(".txt");
125
FileHelper.GenerateLocalFile(localFile, 50);
126
- var crc32 = Crc32Helper.Calculate(await localFile.ReadAllBytesAsync());
+ var crc32 = Crc32Helper.CalculateFileCRC(localFile.FilePath);
127
storageClient.SetChunkSize(4096000);
128
129
// Act
0 commit comments