@@ -46,7 +46,7 @@ public async Task UploadToStorageAsync_SmallFile()
4646
4747 // Assert
4848 localFile ! . Value . FileInfo . Length . Should ( ) . Be ( formFile . Length ) ;
49- localFile . Value . FileName . Should ( ) . Be ( formFile . FileName ) ;
49+ localFile . Value . Name . Should ( ) . Be ( formFile . FileName ) ;
5050
5151 await Storage . DeleteAsync ( fileName ) ;
5252 }
@@ -64,7 +64,7 @@ public async Task UploadToStorageAsync_LargeFile()
6464 var result = await Storage . DownloadAsync ( fileName ) ;
6565
6666 // Assert
67- result . Value . FileName . Should ( ) . Be ( formFile . FileName ) ;
67+ result . Value . Name . Should ( ) . Be ( formFile . FileName ) ;
6868
6969 await Storage . DeleteAsync ( fileName ) ;
7070 }
@@ -84,7 +84,7 @@ public async Task UploadToStorageAsync_WithRandomName()
8484 // Assert
8585 result . IsSuccess . Should ( ) . BeTrue ( ) ;
8686 localFile . Value . FileInfo . Length . Should ( ) . Be ( formFile . Length ) ;
87- localFile . Value . FileName . Should ( ) . Be ( fileName ) ;
87+ localFile . Value . Name . Should ( ) . Be ( fileName ) ;
8888
8989 await Storage . DeleteAsync ( fileName ) ;
9090 }
@@ -104,7 +104,7 @@ public async Task DownloadAsFileResult_WithFileName()
104104 // Assert
105105 result . IsSuccess . Should ( ) . BeTrue ( ) ;
106106 result . Value ! . ContentType . Should ( ) . Be ( MimeHelper . GetMimeType ( localFile . FileInfo . Extension ) ) ;
107- result . Value . FileDownloadName . Should ( ) . Be ( localFile . FileName ) ;
107+ result . Value . FileDownloadName . Should ( ) . Be ( localFile . Name ) ;
108108
109109 await Storage . DeleteAsync ( fileName ) ;
110110 }
@@ -126,7 +126,7 @@ public async Task DownloadAsFileResult_WithBlobMetadata()
126126 // Assert
127127 result . IsSuccess . Should ( ) . Be ( true ) ;
128128 result . Value ! . ContentType . Should ( ) . Be ( MimeHelper . GetMimeType ( localFile . FileInfo . Extension ) ) ;
129- result . Value . FileDownloadName . Should ( ) . Be ( localFile . FileName ) ;
129+ result . Value . FileDownloadName . Should ( ) . Be ( localFile . Name ) ;
130130
131131 await Storage . DeleteAsync ( fileName ) ;
132132 }
0 commit comments